libroar/RoarCanvasWindow.py:onPaint(): invariably remove cursor prior to calling backend.onPaint().

libroar/RoarCanvasWindow.py:onScroll(): removed.
This commit is contained in:
Lucio Andrés Illanes Albornoz 2019-09-15 12:58:39 +02:00
parent 866ef19966
commit 1c7524ba6f
1 changed files with 1 additions and 5 deletions

View File

@ -172,14 +172,10 @@ class RoarCanvasWindow(GuiWindow):
# }}}
# {{{ onPaint(self, event)
def onPaint(self, event):
self.backend.onPaint(self.GetClientSize(), self, self.GetViewStart())
# }}}
# {{{ onScroll(self, event)
def onScroll(self, event):
viewRect = self.GetViewStart()
eventDc = self.backend.getDeviceContext(self.GetClientSize(), self, viewRect)
self.backend.drawCursorMaskWithJournal(self.canvas.journal, eventDc, viewRect)
event.Skip()
self.backend.onPaint(self.GetClientSize(), self, self.GetViewStart())
# }}}
#