Skip to content

Commit

Permalink
Clean
Browse files Browse the repository at this point in the history
  • Loading branch information
dikadk committed May 16, 2024
1 parent 0eab52e commit 2f4e181
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions melatonin/helpers/overlay_mouse_listener.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@ namespace melatonin

void mouseMove (const juce::MouseEvent& event) override
{
//if(!selectionEnabled || !dragEnabled)
// return;

if (outlineDistanceCallback && event.mods.isAltDown())
outlineDistanceCallback (event.originalComponent);
else
Expand Down Expand Up @@ -131,6 +128,6 @@ namespace melatonin
juce::Component* root = nullptr;
bool enabled = false;
bool isDragging { false };
bool dragEnabled { false }, selectionEnabled { false };
bool dragEnabled { false };
};
}

0 comments on commit 2f4e181

Please sign in to comment.