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 390dae6b8d
commit ca0f76360f

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