mirror of
https://github.com/KDE/latte-dock.git
synced 2025-02-05 17:47:23 +03:00
fixes for hideThickScreenGap in Dock mode
This commit is contained in:
parent
ab1aa51fce
commit
0aa5aaec64
@ -74,8 +74,7 @@ Item{
|
||||
|
||||
property int finalScreenEdgeMargin: {
|
||||
//! is used for window geometry calculations
|
||||
if (!screenEdgeMarginEnabled
|
||||
|| (hideThickScreenGap && metrics.margin.screenEdge === 0)) {
|
||||
if (!screenEdgeMarginEnabled || hideThickScreenGap) {
|
||||
/*window geometry is updated after the local screen margin animation was zeroed*/
|
||||
return 0;
|
||||
}
|
||||
|
@ -502,7 +502,9 @@ Item {
|
||||
Binding{
|
||||
target: root
|
||||
property: "hideLengthScreenGaps"
|
||||
when: latteView && latteView.positioner && latteView.visibility && (latteView.positioner.slideOffset === 0)
|
||||
when: latteView && latteView.positioner && latteView.visibility
|
||||
&& ((root.behaveAsPlasmaPanel && latteView.positioner.slideOffset === 0)
|
||||
|| root.behaveAsDockWithMask)
|
||||
value: (hideThickScreenGap
|
||||
&& (latteView.visibility.mode === LatteCore.Types.AlwaysVisible
|
||||
|| latteView.visibility.mode === LatteCore.Types.WindowsGoBelow)
|
||||
|
Loading…
x
Reference in New Issue
Block a user