mirror of
https://github.com/lalbornoz/roar.git
synced 2024-12-23 12:56:37 +00:00
MiRCARTCanvas.py: enable double buffering to eliminate brush flickering.
This commit is contained in:
parent
cc64e955e9
commit
674afe9bfa
@ -178,6 +178,7 @@ class MiRCARTCanvas(wx.Panel):
|
||||
def __init__(self, parent, parentFrame, canvasPos, canvasSize, cellSize):
|
||||
super().__init__(parent, pos=canvasPos, \
|
||||
size=[w*h for w,h in zip(canvasSize, cellSize)])
|
||||
self.SetDoubleBuffered(True)
|
||||
|
||||
self.parentFrame = parentFrame
|
||||
self.canvasMap = None; self.canvasPos = canvasPos; self.canvasSize = canvasSize;
|
||||
|
Loading…
Reference in New Issue
Block a user