Skip to content

Commit cadf5b8

Browse files
committed
Add cross reference permalink to Gtk 3 button explanation to future-proof it
1 parent 27f5057 commit cadf5b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/SwiftCrossUI/Views/Button.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public struct Button: ElementaryView, View {
3131
// why all buttons lose their labels (until you click off the window, forcing it to
3232
// refresh), but the reason Gtk 3 doesn't like it is that the window gets set smaller
3333
// than its content I think.
34+
// See: https://github.com/stackotter/swift-cross-ui/blob/27f50579c52e79323c3c368512d37e95af576c25/Sources/SwiftCrossUI/Scenes/WindowGroupNode.swift#L140
3435
backend.updateButton(widget, label: label, action: action, environment: environment)
3536
return ViewSize(fixedSize: backend.naturalSize(of: widget))
3637
}

0 commit comments

Comments
 (0)