1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-20 01:14:20 +00:00

Tweak to the updating of the popup display value in Slider

This commit is contained in:
jules 2017-08-23 17:08:41 +01:00
parent 997c669260
commit 17fb72f826

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