From 32fe9e81ce28af19ac923deb0723d1956ac9aa2a Mon Sep 17 00:00:00 2001 From: jules Date: Tue, 5 Sep 2017 15:05:56 +0100 Subject: [PATCH] Removed the need for the window to be focused for the slider's hover popup to work --- modules/juce_gui_basics/widgets/juce_Slider.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_gui_basics/widgets/juce_Slider.cpp b/modules/juce_gui_basics/widgets/juce_Slider.cpp index 5981b4a0b1..3ed9282792 100644 --- a/modules/juce_gui_basics/widgets/juce_Slider.cpp +++ b/modules/juce_gui_basics/widgets/juce_Slider.cpp @@ -953,7 +953,7 @@ public: && style != TwoValueHorizontal && style != TwoValueVertical) { - if (owner.isMouseOver (true) && owner.getTopLevelComponent()->hasKeyboardFocus (true)) + if (owner.isMouseOver (true)) { if (popupDisplay == nullptr) showPopupDisplay();