Home
Phabricator
Search
Log In
Differential
D8388
Diff 21029
effects/presentwindows/presentwindows.cpp
Changeset View
There's code in PresentWindowsEffect::postPaintScreen() that fires if it's using the magic number 0.3.
winData->highlight is used to tell us how far into a "scale + brightness" tween we're in.
So it controls more than just the brightness.
We could change the code to:
Which I know works: https://www.youtube.com/watch?v=QEHC43zMIMc#t=6m00