Roniasoft / NodeLink

Qt/QML NodeLink. Dataflow programming library
http://www.roniasoft.se
Apache License 2.0
26 stars 6 forks source link

[IMPROVMENT] Using 'Undo' should follow the modified item #80

Closed MosiQt closed 1 year ago

MosiQt commented 1 year ago

Steps to reproduce the issue:

  1. Start the NodeLink example project.
  2. Perform various actions, such as creating new nodes/connections and moving them.
  3. Attempt to undo some of these actions.
  4. Observe that the view remained fixed on a point rather than following the modified item.

Expected behavior: The view should maintain focus on the modified element rather than resetting to a fixed point. This ensures that users can easily identify the changes made.

MosiQt commented 1 year ago

@l3enQ @mohsenkondori Feel free to change this issue to a refactoring task for Unde/Redo based on our previous chat. Or maybe we should save visible rect with each state, so we can restore to it

mohsenkondori commented 1 year ago

Rremain: 9

mohsenkondori commented 1 year ago

Remain: 4

l3enQ commented 1 year ago

remain: 2

mohsenkondori commented 1 year ago

Done