summaryrefslogtreecommitdiff
path: root/src/editorui/objects.py
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2012-05-21 01:41:02 -0500
committerColin Noga <Tempus@chronometry.ca>2012-05-21 01:41:02 -0500
commitba959d67836d483007c384f1a87fcfba12332295 (patch)
tree67ebe1f6259c5f82c4e1fdc45a9249d9d0bede76 /src/editorui/objects.py
parent197fca6d7d16fa849c6e8e214008108a26ac4c7c (diff)
downloadkoopatlas-ba959d67836d483007c384f1a87fcfba12332295.tar.gz
koopatlas-ba959d67836d483007c384f1a87fcfba12332295.zip
Added copying, proper top-dwn selection
Diffstat (limited to '')
-rw-r--r--src/editorui/objects.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/editorui/objects.py b/src/editorui/objects.py
index 975b365..71566a6 100644
--- a/src/editorui/objects.py
+++ b/src/editorui/objects.py
@@ -51,9 +51,9 @@ class KPEditorObject(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())
@@ -75,7 +75,8 @@ class KPEditorObject(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()
x, xSide, y, ySide = False, None, False, None