Browse Source

Removed the need for the window to be focused for the slider's hover popup to work

tags/2021-05-28
jules 8 years ago
parent
commit
32fe9e81ce
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_gui_basics/widgets/juce_Slider.cpp

+ 1
- 1
modules/juce_gui_basics/widgets/juce_Slider.cpp View File

@@ -953,7 +953,7 @@ public:
&& style != TwoValueHorizontal && style != TwoValueHorizontal
&& style != TwoValueVertical) && style != TwoValueVertical)
{ {
if (owner.isMouseOver (true) && owner.getTopLevelComponent()->hasKeyboardFocus (true))
if (owner.isMouseOver (true))
{ {
if (popupDisplay == nullptr) if (popupDisplay == nullptr)
showPopupDisplay(); showPopupDisplay();


Loading…
Cancel
Save