Undo and redo de-selects a selected shape
Bug #784892 reported by
Steven Sproat
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Whyteboard |
Confirmed
|
Medium
|
Steven Sproat |
Bug Description
If the current shape was not deleted in the undo/redo process then it should remain selected.
We will need to re-paint after keeping it selected as the shape may have changed colour/
tags: | added: future |
Changed in whyteboard: | |
milestone: | 0.43 → 1.0.x |
To post a comment you must log in.
this is hard to do, because when we undo/redo, we now have a different set of objects as far as the program is aware of (due to copy()ing the list of shapes)
can implement equals() for all shapes so we can find out if a shape in the new list of shapes is equal to the currently selected one by comparing its x/y positions etc..