few updates
This commit is contained in:
+1
-1
@@ -210,7 +210,7 @@ class ViewerFrame(wx.Frame):
|
||||
if self.loadCentered:
|
||||
bmpX0 = (windowsize[0] - self.bitmap.Width) / 2
|
||||
bmpY0 = (windowsize[1] - self.bitmap.Height) / 2
|
||||
dc.DrawBitmap(self.bitmap, bmpX0, bmpY0, False)
|
||||
dc.DrawBitmap(self.bitmap, int(bmpX0), int(bmpY0), False)
|
||||
|
||||
# ------------------------------------------------------------
|
||||
# ViewerFrame.ConvertWXToPIL()
|
||||
|
||||
Reference in New Issue
Block a user