invalidate thumbnails on spectrogram log frequency toggle

This commit is contained in:
9hax 2026-05-17 20:13:52 +02:00
parent 6ecc7a8e14
commit afaf1cf391

View file

@ -467,6 +467,11 @@ class ThumbSrv(object):
zs = "th_dec th_no_webp th_no_jpg"
for zs in zs.split(" "):
ret.append("%s(%s)\n" % (zs, getattr(self.args, zs)))
zs = "th_spec_fl"
for zs in zs.split(" "):
v = getattr(self.args, zs)
if v:
ret.append("%s(%s)\n" % (zs, v))
zs = "th_qv th_qvx thsize th_spec_p convt"
for zs in zs.split(" "):
ret.append("%s(%s)\n" % (zs, vn.flags.get(zs)))