1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Slow Caret Timer to match Windows and MacOS blink rates

This commit is contained in:
Sudara 2022-04-20 23:23:42 +02:00
parent 2f389c9d42
commit eec0934942

View file

@ -50,7 +50,7 @@ void CaretComponent::timerCallback()
void CaretComponent::setCaretPosition (const Rectangle<int>& characterArea) void CaretComponent::setCaretPosition (const Rectangle<int>& characterArea)
{ {
startTimer (380); startTimer (500);
setVisible (shouldBeShown()); setVisible (shouldBeShown());
setBounds (characterArea.withWidth (2)); setBounds (characterArea.withWidth (2));
} }