Improve thumbnail tooltip animation

Authored by huoni on Feb 22 2018, 1:30 PM.

Description

Improve thumbnail tooltip animation

Summary:
This fixes a cosmetic issue where the tooltip got 'stuck' as long as you
kept moving your mouse around. The trade-off is it more often than not
fades out quicker than it did before, but I believe this isn't a problem.

This prevents the tooltip fade-out animation getting the 500ms delay unless the current animation is not running.
Therefore preventing the animation perpetually gaining a delay if moving the mouse over thumbnails fast enough.

BUG: 245091

Before:

After:

Reviewers: Gwenview, rkflx

Reviewed By: Gwenview, rkflx

Subscribers: rkflx

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

Details

Committed
rkflxFeb 22 2018, 1:35 PM
Reviewer
Gwenview
Differential Revision
D10704: Improve thumbnail tooltip animation
Parents
R260:e913496b73e1: Save config when opening the config dialog
Branches
Unknown
Tags
Unknown