From ca0f76360f069d9b47e2e57f6ca53544b80cc71a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Thu, 11 Jan 2018 01:59:43 +0100 Subject: [PATCH] MiRCARTCanvasInterface.py:_updateCanvasSize(): hide cursor before resizing. --- MiRCARTCanvasInterface.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MiRCARTCanvasInterface.py b/MiRCARTCanvasInterface.py index 7cc2d4a..df12494 100644 --- a/MiRCARTCanvasInterface.py +++ b/MiRCARTCanvasInterface.py @@ -48,6 +48,8 @@ class MiRCARTCanvasInterface(): # {{{ _updateCanvasSize(self, newCanvasSize): XXX def _updateCanvasSize(self, newCanvasSize): eventDc = self.parentCanvas.canvasBackend.getDeviceContext(self.parentCanvas) + self.parentCanvas.canvasBackend.drawCursorMaskWithJournal( \ + self.parentCanvas.canvasJournal, eventDc) oldCanvasSize = self.parentCanvas.canvasSize self.parentCanvas.resize(newCanvasSize) self.parentCanvas.canvasBackend.resize( \