Skip to content

Commit

Permalink
Save alwaysOnTop flag
Browse files Browse the repository at this point in the history
  • Loading branch information
ffAudio committed Dec 27, 2021
1 parent c0aca02 commit abb4431
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion Editor/foleys_ToolBox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,11 @@ ToolBox::ToolBox (juce::Component* parentToUse, MagicGUIBuilder& builderToContro
view.addItem ("Right", true, positionOption == right, [&]() { setToolboxPosition (right); });
view.addItem ("Detached", true, positionOption == detached, [&]() { setToolboxPosition (detached); });
view.addSeparator();
view.addItem ("AlwaysOnTop", true, isAlwaysOnTop(), [&]() { setAlwaysOnTop ( ! isAlwaysOnTop() ); });
view.addItem ("AlwaysOnTop", true, isAlwaysOnTop(), [&]() {
setAlwaysOnTop ( ! isAlwaysOnTop() );
if (auto* properties = appProperties.getUserSettings())
properties->setValue ("alwaysOnTop", isAlwaysOnTop() ? "true" : "false");
});

view.showMenuAsync (juce::PopupMenu::Options());
};
Expand Down
4 changes: 2 additions & 2 deletions VERSION.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
PluginGuiMagic - Versions history
================================

1.3.6
-----
1.3.6 - 27.12.2021
------------------

- Allow Containers to scroll if over-full and configured accordingly
- Added drumpad component
Expand Down

0 comments on commit abb4431

Please sign in to comment.