mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-22 15:26:37 +00:00
MiRCARTCanvasInterface.py:_updateCanvasSize(): hide cursor before resizing.
This commit is contained in:
parent
2f85fa8cd1
commit
44490912b2
@ -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