mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
cropping folder icons is dumb
This commit is contained in:
parent
ad9be54f55
commit
df7219d3b6
|
@ -31,10 +31,9 @@ class Ico(object):
|
||||||
|
|
||||||
w = 100
|
w = 100
|
||||||
h = 30
|
h = 30
|
||||||
if "n" in self.args.th_crop and as_thumb:
|
if as_thumb:
|
||||||
sw, sh = self.args.th_size.split("x")
|
sw, sh = self.args.th_size.split("x")
|
||||||
h = int(100.0 / (float(sw) / float(sh)))
|
h = int(100.0 / (float(sw) / float(sh)))
|
||||||
w = 100
|
|
||||||
|
|
||||||
if chrome:
|
if chrome:
|
||||||
# cannot handle more than ~2000 unique SVGs
|
# cannot handle more than ~2000 unique SVGs
|
||||||
|
|
Loading…
Reference in a new issue