mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
fixed button auto-repeat speed
This commit is contained in:
parent
8721d71492
commit
9b86c13266
1 changed files with 3 additions and 4 deletions
|
|
@ -50,7 +50,6 @@ public:
|
||||||
direction (direction_),
|
direction (direction_),
|
||||||
owner (owner_)
|
owner (owner_)
|
||||||
{
|
{
|
||||||
setRepeatSpeed (100, 50, 10);
|
|
||||||
setWantsKeyboardFocus (false);
|
setWantsKeyboardFocus (false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -98,9 +97,9 @@ ScrollBar::ScrollBar (const bool vertical_,
|
||||||
thumbAreaSize (0),
|
thumbAreaSize (0),
|
||||||
thumbStart (0),
|
thumbStart (0),
|
||||||
thumbSize (0),
|
thumbSize (0),
|
||||||
initialDelayInMillisecs (-1),
|
initialDelayInMillisecs (100),
|
||||||
repeatDelayInMillisecs (0),
|
repeatDelayInMillisecs (50),
|
||||||
minimumDelayInMillisecs (-1),
|
minimumDelayInMillisecs (10),
|
||||||
vertical (vertical_),
|
vertical (vertical_),
|
||||||
isDraggingThumb (false),
|
isDraggingThumb (false),
|
||||||
upButton (0),
|
upButton (0),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue