https://bugs.kde.org/show_bug.cgi?id=463061

Nate Graham <n...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/fram |https://invent.kde.org/fram
                   |eworks/plasma-framework/com |eworks/plasma-framework/com
                   |mit/a4bd3879780a02ff653f273 |mit/3fcd43a6ed03d0aff188dfc
                   |a4235e247108729ca           |190cc464c34302a1f

--- Comment #13 from Nate Graham <n...@kde.org> ---
Git commit 3fcd43a6ed03d0aff188dfc190cc464c34302a1f by Nate Graham, on behalf
of Arjen Hiemstra.
Committed on 17/01/2023 at 03:44.
Pushed by ngraham into branch 'kf5'.

iconitem: Adjust fade animation to not flicker as much

As it turns out, mix(old texture, new texture, animation value) does
actually result in a different visual from simply blending the two
textures on top of each other, because the old texture first gets
blended with the underlying color. This results in some of the
underlying color bleeding through, which can cause flickering if the two
textures are almost the same. To avoid this, change the animation
slightly so that rather than crossfading, we first fade in the new
texture then fade out the old texture. This doesn't cause a whole lot of
visual difference for two completely different textures, but removes the
flickering when they are very similar.
Related: bug 463685

M  +6    -2    src/declarativeimports/core/iconitem.cpp

https://invent.kde.org/frameworks/plasma-framework/commit/3fcd43a6ed03d0aff188dfc190cc464c34302a1f

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to