1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-02-13 09:59:23 +03:00

fix binding loop when moving int.splitters

This commit is contained in:
Michail Vourlakos 2021-12-09 20:03:50 +02:00
parent 321a50627d
commit 11a8c3fee7

View File

@ -60,6 +60,7 @@ Item {
target: appletsContainer
property:"lengthWithoutSplitters"
when: appletsContainer && grid && !updateIsBlocked && inNormalFillCalculationsState
&& !(dragOverlay && dragOverlay.currentApplet && dragOverlay.currentApplet.isInternalViewSplitter /*avoid binding loop when dragging splitters around*/)
value: {
var space = 0;
for (var i=0; i<grid.children.length; ++i){