Changeset 1647:d5dc956393b2 in lemon-0.x
- Timestamp:
- 08/23/05 18:27:59 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2160
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gui/graph_displayer_canvas-event.cc
r1646 r1647 565 565 566 566 //find the activated item between texts 567 active_item=(get_item_at(e->button.x, e->button.y)); 567 window_to_world (e->button.x, e->button.y, clicked_x, clicked_y); 568 active_item=(get_item_at(clicked_x, clicked_y)); 568 569 for (EdgeIt i(mapstorage.graph); i!=INVALID; ++i) 569 570 { … … 577 578 if(clicked_edge==INVALID) 578 579 { 579 window_to_world (e->button.x, e->button.y, clicked_x, clicked_y);580 active_item=(get_item_at(clicked_x, clicked_y));581 582 580 for (EdgeIt i(mapstorage.graph); i!=INVALID; ++i) 583 581 { … … 593 591 { 594 592 // the id map is not editable 595 if (nodemap_to_edit == "id") return 0; 593 if (edgemap_to_edit == "id") return 0; 594 596 595 //If there is already edited edge, it has to be saved first 597 596 if(entrywidget.is_visible())
Note: See TracChangeset
for help on using the changeset viewer.