Diffusion KWin c36b99cdbc65

[effects/minimizeanimation] Make it a little bit smoother

Authored by zzag on Aug 2 2018, 12:02 PM.

Description

[effects/minimizeanimation] Make it a little bit smoother

Summary:
Don't cast translation values from double to int because it makes
animation a little bit choppy.

It makes significant difference only when animation speed is set to
"Very slow".

Test Plan:

  • Go to 'System Settins > Display and Monitor > Compositor';
  • Set animation speed to "Very slow"(it scales animation durations by 20x);
  • Minimize/uniminimize System Settings.

Reviewers: KWin, davidedmundson

Reviewed By: KWin, davidedmundson

Subscribers: kwin

Tags: KWin

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

Details

Committed
zzagAug 2 2018, 12:31 PM
Reviewer
KWin
Differential Revision
D14552: [effects/minimizeanimation] Make it a little bit smoother
Parents
R108:386d64368d60: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown