Ecdar / Ecdar-GUI

A graphical tool for modeling using ECDAR (Environment for Compositional Design and Analysis of Real Time Systems)
MIT License
3 stars 5 forks source link

Dragging of elements within component #71

Closed Nielswps closed 2 years ago

Nielswps commented 2 years ago

After the refactoring of the grid, a bug was introduced where the elements (locations, tags, nails, etc.) jump to coordinates outside of the component when clicked. The dragging of the elements is also off-center from the mouse and does not account for scaling.

Tags jumping off screen on mouse press: tag_juming_of_screen_on_press_bug

Elements not sticking to the mouse: elements_not_following_mouse_bug

Edge being dragged weird: drag_with_selected_edge_bug

After fix: drag_within_component_fixed