Skip to content

Commit

Permalink
Fixed issue (#407)
Browse files Browse the repository at this point in the history
  • Loading branch information
mukuagar authored Jan 22, 2024
1 parent 136ff8e commit 1ed91ac
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class SpacingView: NSView {
super.init(frame: frameRect)
translatesAutoresizingMaskIntoConstraints = false
wantsLayer = true
clipsToBounds = true
}

required init?(coder: NSCoder) {
Expand All @@ -32,7 +33,7 @@ class SpacingView: NSView {
if requestedSpacing == .none {
return nil
} else {
let separator = SpacingView()
let separator = SpacingView(frame: .zero)
separator.orientation = view.orientation
let spacing = HostConfigUtils.getSpacing(requestedSpacing, with: config).doubleValue
separator.spacing = spacing
Expand Down

0 comments on commit 1ed91ac

Please sign in to comment.