mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-23 07:36:37 +00:00
MiRCARTCanvasInterface.py:_updateCanvasSize(): hide cursor before resizing.
This commit is contained in:
parent
390dae6b8d
commit
ca0f76360f
@ -48,6 +48,8 @@ class MiRCARTCanvasInterface():
|
|||||||
# {{{ _updateCanvasSize(self, newCanvasSize): XXX
|
# {{{ _updateCanvasSize(self, newCanvasSize): XXX
|
||||||
def _updateCanvasSize(self, newCanvasSize):
|
def _updateCanvasSize(self, newCanvasSize):
|
||||||
eventDc = self.parentCanvas.canvasBackend.getDeviceContext(self.parentCanvas)
|
eventDc = self.parentCanvas.canvasBackend.getDeviceContext(self.parentCanvas)
|
||||||
|
self.parentCanvas.canvasBackend.drawCursorMaskWithJournal( \
|
||||||
|
self.parentCanvas.canvasJournal, eventDc)
|
||||||
oldCanvasSize = self.parentCanvas.canvasSize
|
oldCanvasSize = self.parentCanvas.canvasSize
|
||||||
self.parentCanvas.resize(newCanvasSize)
|
self.parentCanvas.resize(newCanvasSize)
|
||||||
self.parentCanvas.canvasBackend.resize( \
|
self.parentCanvas.canvasBackend.resize( \
|
||||||
|
Loading…
Reference in New Issue
Block a user