MiRCARTCanvasInterface.py:_updateCanvasSize(): hide cursor before resizing.

This commit is contained in:
Lucio Andrés Illanes Albornoz 2018-01-11 01:59:43 +01:00
parent 2f85fa8cd1
commit 44490912b2

View File

@ -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( \