Don't reset m_pauseCounter on short inputs

Authored by wojnilowicz on Jan 11 2020, 11:45 PM.

Description

Don't reset m_pauseCounter on short inputs

Summary:
This patch adds condition that input must last more than 2 seconds
before pause duration is reset to its full length during
TimerState::Suggesting phase.

This prevents accidental mouse touches from interrupting pause.

Reviewers: aacid

Reviewed By: aacid

Differential Revision: https://phabricator.kde.org/D26498

Details

Committed
aacidJan 11 2020, 11:52 PM
Reviewer
aacid
Differential Revision
D26498: Don't reset m_pauseCounter on short inputs
Parents
R368:7c31c6a22bce: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown