DescriptionImprove CrOS WM shadow drawing for small windows.
We can't fully imitate what CSS would do for a box shadow
on a small box without redrawing the shadow for every height
below a certain threshold. Instead, simply reduce the "elevation"
of the shadows (which controls blur and offset) to something
we can handle.
This only has any effect on active windows that are shorter or
narrower than 100dip, and it maintains a distinction between active
and inactive all the way down to 36dip. It gets rid of the unsightly
seam that our current strategy causes. Sebastien has agreed to this
mitigation (although he might have additional feedback when he plays
with it live, once it's on canary).
BUG=608852
Committed: https://crrev.com/ec9aafe08581e34321ab003bb7c6b74b086d7f96
Cr-Commit-Position: refs/heads/master@{#439588}
Patch Set 1 #Patch Set 2 : . #
Total comments: 2
Patch Set 3 : wrapping #
Messages
Total messages: 21 (15 generated)
|