Drag in arrow demo does not work properly
Bug #305003 reported by
John La Rooy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pygoocanvas |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
The on_motion function in arrowhead_demo.py is using == to check the flag in event.state.
It should be using & instead.
def on_motion(item, target, event):
canvas = item.get_canvas ()
change = False
if not event.state == gtk.gdk.
return False
...
To post a comment you must log in.
Thanks, fix committed