diff --git a/melatonin/helpers/overlay_mouse_listener.h b/melatonin/helpers/overlay_mouse_listener.h index 581294d..9e2a699 100644 --- a/melatonin/helpers/overlay_mouse_listener.h +++ b/melatonin/helpers/overlay_mouse_listener.h @@ -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 @@ -131,6 +128,6 @@ namespace melatonin juce::Component* root = nullptr; bool enabled = false; bool isDragging { false }; - bool dragEnabled { false }, selectionEnabled { false }; + bool dragEnabled { false }; }; }