From 9fee13ba825c3f80ed8a41c0fd088ec5e17874a2 Mon Sep 17 00:00:00 2001 From: hogliux Date: Wed, 30 May 2018 17:33:04 +0100 Subject: [PATCH] Slider: Added missing ComponentPeer flags to the popup display of a slider --- modules/juce_gui_basics/widgets/juce_Slider.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/juce_gui_basics/widgets/juce_Slider.cpp b/modules/juce_gui_basics/widgets/juce_Slider.cpp index e60bd9e371..627177a6b3 100644 --- a/modules/juce_gui_basics/widgets/juce_Slider.cpp +++ b/modules/juce_gui_basics/widgets/juce_Slider.cpp @@ -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)