File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -347,8 +347,21 @@ Window {
347347 Layout .topMargin : useColumnLayout && Panel .itemAlignment === Dock .CenterAlignment ?
348348 (dock .height - dockCenterPart .implicitHeight ) / 2 - (dockLeftPart .implicitHeight + 20 ) + Math .min ((dock .height - dockCenterPart .implicitHeight ) / 2 - (dockRightPart .implicitHeight + 20 ), 0 ) : 0
349349
350- Behavior on Layout .leftMargin { NumberAnimation { duration: 200 ; easing .type : Easing .OutCubic } }
351- Behavior on Layout .topMargin { NumberAnimation { duration: 200 ; easing .type : Easing .OutCubic } }
350+ Behavior on Layout .leftMargin {
351+ enabled: ! dock .isDragging
352+ NumberAnimation {
353+ duration: 200
354+ easing .type : Easing .OutCubic
355+ }
356+ }
357+
358+ Behavior on Layout .topMargin {
359+ enabled: ! dock .isDragging
360+ NumberAnimation {
361+ duration: 200
362+ easing .type : Easing .OutCubic
363+ }
364+ }
352365
353366 OverflowContainer {
354367 id: centerLoader
You can’t perform that action at this time.
0 commit comments