Browse Source

Tweak to the updating of the popup display value in Slider

tags/2021-05-28
jules 7 years ago
parent
commit
17fb72f826
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      modules/juce_gui_basics/widgets/juce_Slider.cpp

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

@@ -958,8 +958,6 @@ public:
if (popupDisplay == nullptr)
showPopupDisplay();
updatePopupDisplay (getValue());
if (popupDisplay != nullptr)
popupDisplay->startTimer (2000);
}
@@ -977,6 +975,8 @@ public:
{
popupDisplay = new PopupDisplayComponent (owner);
updatePopupDisplay (getValue());
if (parentForPopupDisplay != nullptr)
parentForPopupDisplay->addChildComponent (popupDisplay);
else


Loading…
Cancel
Save