Skip to content

Commit 09e7484

Browse files
Lint
1 parent 4409f0a commit 09e7484

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Sources/CodeEditTextView/ItemBox/ItemBoxWindowController+Window.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ extension ItemBoxWindowController {
147147
scrollView.bottomAnchor.constraint(equalTo: contentView.bottomAnchor)
148148
])
149149
}
150-
150+
151151
/// Updates the item box window's height based on the number of items.
152152
/// If there are no items, the default label will be displayed instead.
153153
private func updateItemBoxWindowAndContents() {
@@ -185,7 +185,6 @@ extension ItemBoxWindowController {
185185
window.minSize = NSSize(width: Self.DEFAULT_SIZE.width, height: newHeight)
186186
}
187187

188-
189188
private func configureNoItemsLabel() {
190189
window?.contentView?.addSubview(noItemsLabel)
191190

@@ -194,7 +193,7 @@ extension ItemBoxWindowController {
194193
noItemsLabel.centerYAnchor.constraint(equalTo: window!.contentView!.centerYAnchor)
195194
])
196195
}
197-
196+
198197
/// Calculate the window height for a given number of rows.
199198
private static func rowsToWindowHeight(for numberOfRows: CGFloat) -> CGFloat {
200199
let wholeRows = floor(numberOfRows)

0 commit comments

Comments
 (0)