1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-02-02 05:47:18 +03:00

set indicator.screenedge minimum value to zero

This commit is contained in:
Michail Vourlakos 2021-04-29 00:39:34 +03:00
parent 31b10d9c58
commit 01c7eae42a

View File

@ -64,7 +64,7 @@ Item{
property bool progressVisible: false /*since 0.9.2*/
property real progress: 0 /*since 0.9.2*/
property int screenEdgeMargin: _indicator.metrics ? _indicator.metrics.margin.screenEdge : 0 /*since 0.10*/
property int screenEdgeMargin: _indicator.metrics ? Math.max(0, _indicator.metrics.margin.screenEdge) : 0 /*since 0.10*/
property QtObject palette: null