A much needed code clean up to the adding and removing items from the Selection, as well as using the Gdk.ModifierType to track pressed keyboard modifiers.
This PR fixes/implements the following bugs/features:
[x] When multiple items are selected, click on a single item to deselect them all and keep the target in the selection.
[x] When multiple items are selected, hold CTRL and click to toggle the anchor/subselection.
[x] Use the Gdk.ModifierType to track pressed keyboard modifiers on the Canvas.
Summary / How this PR fixes the problem?
A much needed code clean up to the adding and removing items from the Selection, as well as using the
Gdk.ModifierType
to track pressed keyboard modifiers.This PR fixes/implements the following bugs/features:
Gdk.ModifierType
to track pressed keyboard modifiers on theCanvas
.Snapping2
toSnapping
.