Skip to content

Commit

Permalink
Force List layout for implicit containers?
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitabobko committed Oct 5, 2023
1 parent 95dec4f commit db45de2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/command/MoveThroughCommand.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ private func moveOut(window: Window, direction: CardinalDirection) {
prevRoot.unbindFromParent()
precondition(prevRoot != parent.rootTilingContainer)
parent.rootTilingContainer.orientation = direction.orientation
parent.rootTilingContainer.layout = .List // todo force List layout for implicit containers?
prevRoot.bindTo(parent: parent.rootTilingContainer, adaptiveWeight: WEIGHT_AUTO)

bindTo = parent.rootTilingContainer
Expand Down

0 comments on commit db45de2

Please sign in to comment.