From 11644a7d160246719c75e6b7b86f8f36ce0ac830 Mon Sep 17 00:00:00 2001 From: David Capello Date: Wed, 19 Jul 2023 10:56:16 -0300 Subject: [PATCH] Add Shift+F7 to toggle other layers visibility on Preview window --- data/gui.xml | 15 ++- data/pref.xml | 1 + data/strings/en.ini | 3 + src/app/CMakeLists.txt | 1 + src/app/commands/commands_list.h | 1 + .../commands/toggle_other_layers_opacity.cpp | 114 ++++++++++++++++++ src/app/ui/editor/editor.cpp | 16 ++- src/app/ui/editor/editor.h | 6 +- 8 files changed, 148 insertions(+), 9 deletions(-) create mode 100644 src/app/commands/toggle_other_layers_opacity.cpp diff --git a/data/gui.xml b/data/gui.xml index 08066ea71..a213b7e6e 100644 --- a/data/gui.xml +++ b/data/gui.xml @@ -303,6 +303,12 @@ + + + + + + @@ -1017,7 +1023,14 @@ - + + + + + + + + diff --git a/data/pref.xml b/data/pref.xml index 16f1110f7..9b92ebea5 100644 --- a/data/pref.xml +++ b/data/pref.xml @@ -234,6 +234,7 @@