Browse Source

fixed button auto-repeat speed

tags/2021-05-28
jules 18 years ago
parent
commit
9b86c13266
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      src/juce_appframework/gui/components/layout/juce_ScrollBar.cpp

+ 3
- 4
src/juce_appframework/gui/components/layout/juce_ScrollBar.cpp View File

@@ -50,7 +50,6 @@ public:
direction (direction_),
owner (owner_)
{
setRepeatSpeed (100, 50, 10);
setWantsKeyboardFocus (false);
}
@@ -98,9 +97,9 @@ ScrollBar::ScrollBar (const bool vertical_,
thumbAreaSize (0),
thumbStart (0),
thumbSize (0),
initialDelayInMillisecs (-1),
repeatDelayInMillisecs (0),
minimumDelayInMillisecs (-1),
initialDelayInMillisecs (100),
repeatDelayInMillisecs (50),
minimumDelayInMillisecs (10),
vertical (vertical_),
isDraggingThumb (false),
upButton (0),


Loading…
Cancel
Save