Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dikadk committed May 16, 2024
1 parent 3b1deb6 commit 0eab52e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions melatonin_inspector.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ namespace melatonin

void restoreMenuState ()
{
overlayMouseListener.enableDragging (settings->props->getBoolValue ("enableDragging", false));

overlay.enableDragging(settings->props->getBoolValue ("enableDragging", false));
bool propValue = settings->props->getBoolValue ("enableDragging", false);
overlayMouseListener.enableDragging (propValue);
overlay.enableDragging(propValue);
}

explicit Inspector (juce::Component& rootComponent, bool inspectorEnabledAtStart = true)
Expand Down

0 comments on commit 0eab52e

Please sign in to comment.