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:
parent
997c669260
commit
17fb72f826
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue