1 |
# Copyright (c) 2001 by Intevation GmbH |
# Copyright (c) 2001, 2002 by Intevation GmbH |
2 |
# Authors: |
# Authors: |
3 |
# Bernhard Herzog <[email protected]> |
# Bernhard Herzog <[email protected]> |
4 |
# |
# |
604 |
return None, None |
return None, None |
605 |
|
|
606 |
def SelectShapeAt(self, x, y): |
def SelectShapeAt(self, x, y): |
607 |
layer, shape = self.find_shape_at(x, y) |
layer, shape = self.find_shape_at(x, y, selected_layer = 0) |
608 |
# If layer is None, then shape will also be None. We don't want |
# If layer is None, then shape will also be None. We don't want |
609 |
# to deselect the currently selected layer, so we simply select |
# to deselect the currently selected layer, so we simply select |
610 |
# the already selected layer again. |
# the already selected layer again. |