From ba959d67836d483007c384f1a87fcfba12332295 Mon Sep 17 00:00:00 2001 From: Colin Noga Date: Mon, 21 May 2012 01:41:02 -0500 Subject: Added copying, proper top-dwn selection --- src/editorui/doodads.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/editorui/doodads.py') diff --git a/src/editorui/doodads.py b/src/editorui/doodads.py index 6bb4576..89ccfc7 100644 --- a/src/editorui/doodads.py +++ b/src/editorui/doodads.py @@ -426,9 +426,9 @@ class KPEditorDoodad(KPEditorItem): def hoverMoveEvent(self, event): - if self._layerRef() != KP.mapScene.currentLayer: - self.setCursor(Qt.ArrowCursor) - return + # if self._layerRef() != KP.mapScene.currentLayer: + # self.setCursor(Qt.ArrowCursor) + # return pos = event.pos() bit = self.resizerPortionAt(pos.x(), pos.y()) @@ -460,7 +460,8 @@ class KPEditorDoodad(KPEditorItem): pos = event.pos() bit = self.resizerPortionAt(pos.x(), pos.y()) - if self._layerRef() == KP.mapScene.currentLayer and bit: + # if self._layerRef() == KP.mapScene.currentLayer and bit: + if bit: event.accept() if (event.modifiers() & Qt.ShiftModifier): -- cgit v1.2.3