Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@ internal final class MainSplitViewController: NSSplitViewController, InspectorVi
inspectorSplitItem = NSSplitViewItem(inspectorWithViewController: inspectorHosting)
inspectorSplitItem.canCollapse = true
inspectorSplitItem.minimumThickness = 270

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Explicitly clear the inspector maximum thickness

Because this item is created with NSSplitViewItem(inspectorWithViewController:), AppKit initializes the inspector pane with the standard inspector min/max width of 270 points and makes it non-resizable by default. This patch removes the old maximumThickness = 400 override but only reassigns minimumThickness, so in windows using this controller the inspector will clamp back to 270 instead of becoming freely resizable; set maximumThickness explicitly to an unbounded/unspecified value after creating the inspector item.

Useful? React with 👍 / 👎.

inspectorSplitItem.maximumThickness = 400
addSplitViewItem(inspectorSplitItem)

if currentSession?.driver == nil {
Expand Down
Loading