projects
/
ffpreview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3393af2
)
* Print a warning, if thumbnail scrollframe size exceeds the maximum supported by...
author
Urban Wallasch
<urban.wallasch@freenet.de>
Sat, 8 May 2021 12:57:57 +0000
(14:57 +0200)
committer
Urban Wallasch
<urban.wallasch@freenet.de>
Sat, 8 May 2021 12:57:57 +0000
(14:57 +0200)
ffpreview.py
patch
|
blob
|
history
diff --git
a/ffpreview.py
b/ffpreview.py
index dc17993f4e6dca6636bc29f228e8552f5d260c20..aaca49e0859652a2a7adcad9965a67c536332577 100755
(executable)
--- a/
ffpreview.py
+++ b/
ffpreview.py
@@
-656,6
+656,8
@@
def fill_grid(cols):
x += 1
if x == cols:
x = 0; y += 1
+ if cfg['grid_columns']*tlwidth > 32767 or y*tlheight > 32767:
+ eprint('WARNING: grid dimensions exceed maximum size, display will be garbled!')
def on_resize(event):
cols = cfg['grid_columns']