mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fixed a bug where a Slider popup display set to show on mouse hover wouldn't show when dragging the mouse over the Slider and releasing
This commit is contained in:
parent
6290e95152
commit
f83fcafb84
2 changed files with 6 additions and 0 deletions
|
|
@ -1602,6 +1602,10 @@ void Slider::mouseUp (const MouseEvent&) { pimpl->mouseUp(); }
|
|||
void Slider::mouseMove (const MouseEvent&) { pimpl->mouseMove(); }
|
||||
void Slider::mouseExit (const MouseEvent&) { pimpl->mouseExit(); }
|
||||
|
||||
// If popup display is enabled and set to show on mouse hover, this makes sure
|
||||
// it is shown when dragging the mouse over a slider and releasing
|
||||
void Slider::mouseEnter (const MouseEvent&) { pimpl->mouseMove(); }
|
||||
|
||||
void Slider::modifierKeysChanged (const ModifierKeys& modifiers)
|
||||
{
|
||||
if (isEnabled())
|
||||
|
|
|
|||
|
|
@ -910,6 +910,8 @@ public:
|
|||
void mouseMove (const MouseEvent&) override;
|
||||
/** @internal */
|
||||
void mouseExit (const MouseEvent&) override;
|
||||
/** @internal */
|
||||
void mouseEnter (const MouseEvent&) override;
|
||||
|
||||
private:
|
||||
//==============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue