summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Mady Mellor <madym@google.com> 2022-03-15 00:32:18 +0000
committer Mady Mellor <madym@google.com> 2022-03-15 00:37:14 +0000
commitd9685e240622b3dbd68c6ac03f9dcdbc83c7d6f5 (patch)
tree879bc118c39b082dbd0762d12589494b79b09948 /api/api.go
parent5095a5284362dc434e8ffaae68a028700231d447 (diff)
Fix pip dismiss not visible on phone landscape
The increase to the gradient height doesn't work well for phone landscape since it can be larger. This meant the calculation to place the dismiss target window is incorrect. This change fixes it by capping the height to the window size. Test: visual - have PIP in landscape on phone and verify drag to dismiss target is fully visible Bug: 223467425 Change-Id: I78a5565c8e09f010fad46ccd96c137f1c4de93b0
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions