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 9d045fe455
commit dd5dcdcdd4

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())
# }}}
#