From dd5dcdcdd4852a3a3a7e0381d54d520ea7bf34ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Sun, 15 Sep 2019 12:58:39 +0200 Subject: [PATCH] libroar/RoarCanvasWindow.py:onPaint(): invariably remove cursor prior to calling backend.onPaint(). libroar/RoarCanvasWindow.py:onScroll(): removed. --- libroar/RoarCanvasWindow.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libroar/RoarCanvasWindow.py b/libroar/RoarCanvasWindow.py index 2490791..b1a9236 100644 --- a/libroar/RoarCanvasWindow.py +++ b/libroar/RoarCanvasWindow.py @@ -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()) # }}} #