Browse Source

Slider: Added missing ComponentPeer flags to the popup display of a slider

tags/2021-05-28
hogliux 7 years ago
parent
commit
9fee13ba82
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      modules/juce_gui_basics/widgets/juce_Slider.cpp

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

@@ -995,7 +995,9 @@ public:
if (parentForPopupDisplay != nullptr)
parentForPopupDisplay->addChildComponent (popupDisplay.get());
else
popupDisplay->addToDesktop (ComponentPeer::windowIsTemporary);
popupDisplay->addToDesktop (ComponentPeer::windowIsTemporary
| ComponentPeer::windowIgnoresKeyPresses
| ComponentPeer::windowIgnoresMouseClicks);
if (style == SliderStyle::TwoValueHorizontal
|| style == SliderStyle::TwoValueVertical)


Loading…
Cancel
Save