Branch: refs/heads/master
  Home:   https://github.com/synfig/synfig
  Commit: bb361718bc6d061d010e5d6ab5bebeeaae59ad71
      
https://github.com/synfig/synfig/commit/bb361718bc6d061d010e5d6ab5bebeeaae59ad71
  Author: ice0 <konop...@gmail.com>
  Date:   2022-08-11 (Thu, 11 Aug 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 this commit (87cc5d2)

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
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to