rolandkrueger/git-whiteboard-app

Canvas objects are not removed properly

Closed this issue · 1 comments

It happens sometimes that canvas objects cannot properly be removed from the canvas. In particular, this happens e.g.

  • when deleting a branch, the branch label is not removed
  • when performing a garbage collection, some lost commits are not removed.
  • when shifting commits to the right, some commits will be duplicated, i.e. their old positions are not cleared.

Care has to be taken that a canvas object is not added again to the canvas if it has previously been added. Otherwise the stale objects cannot be removed and remain visible.