This commit is contained in:
Sam Parkinson 2016-04-21 07:34:24 +10:00
commit 526c87d7c6

View File

@ -973,6 +973,10 @@ class Invoker(GObject.GObject):
ih = 0 ih = 0
if palette_dim.width == 0:
ph = 0
else:
# Set palette_halign to align to screen on left # Set palette_halign to align to screen on left
if dleft > dright: if dleft > dright:
ph = -float(dleft) / palette_dim.width ph = -float(dleft) / palette_dim.width