mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Update Dock.qml
This commit is contained in:
@@ -153,7 +153,7 @@ Loader {
|
||||
return 0;
|
||||
const spacing = Style.marginS;
|
||||
const layoutLength = (iconSize * dockItemCount) + (spacing * Math.max(0, dockItemCount - 1));
|
||||
const padded = layoutLength + Style.margin2XL * 6;
|
||||
const padded = layoutLength + (showFrameIndicator ? Style.marginXL : Style.margin2XL * 6);
|
||||
return Math.min(padded, isVertical ? maxHeight : maxWidth);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user