Fix dragging clipboard objects out from the frame.
This commit is contained in:
parent
5741d21be9
commit
e0785e7aab
@ -75,7 +75,7 @@ class ClipboardBox(hippo.CanvasBox):
|
||||
return self._owns_clipboard
|
||||
|
||||
def _get_icon_at_coords(self, x, y):
|
||||
box_x, box_y = self.get_context().get_position(self)
|
||||
box_x, box_y = self.get_context().translate_to_widget(self)
|
||||
x -= box_x
|
||||
y -= box_y
|
||||
for object_id, icon in self._icons.iteritems():
|
||||
|
Loading…
Reference in New Issue
Block a user