Branch: refs/heads/v1.4.x
Home: https://github.com/synfig/synfig
Commit: 63f7675fd6b4507ec5b5f2b135cd5a43f99a5dd5
https://github.com/synfig/synfig/commit/63f7675fd6b4507ec5b5f2b135cd5a43f99a5dd5
Author: ice0 <[email protected]>
Date: 2022-12-04 (Sun, 04 Dec 2022)
Changed paths:
M synfig-studio/src/gui/canvasview.cpp
Log Message:
-----------
fix: Right-clicking a layer on a just opened file shows empty menu (#2781)
The issue was introduced by PR #2352
When the list of selected layers was empty, then
clicking on the layer opened an empty menu.
Now the logic has changed:
If the layer is in the list of selected layers, then
actions are applied to them, if not, then the selection
is removed from them and the layer that was clicked
becomes selected (and actions applied to it).
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl