Skip to content
Commit 711ebf79 authored by Yifan Zhu's avatar Yifan Zhu
Browse files

shell/panelview: calculate dodge geometry independent of floatingness

The dodge/defloat geometry should be the same no matter the panel is
floating or not. In addition, constrain it to the geometry of the
current screen, so that content from other screens have no impact.

Previously, the compensation for floatingness was done in Panel.qml,
which made the code more complicated, and had rounding errors that
caused the panel to continuously cycle between float and defloat.

CCBUG: 481379
FIXED-IN: 6.0


(cherry picked from commit ab9de16b)
parent c7f7b1c3
Pipeline #609498 passed with stage
in 15 minutes and 27 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment