Skip to content

Commit cebd011

Browse files
committed
Fix GtkBackend's colorableRectangle, sometimes required a few updates to appear
No clue why it wasn't working, but changing it from a GtkFixed to a GtkBox fixed the issue.
1 parent a23c437 commit cebd011

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/GtkBackend/GtkBackend.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ public final class GtkBackend: AppBackend {
188188
}
189189

190190
public func createColorableRectangle() -> Widget {
191-
return Fixed()
191+
return Box()
192192
}
193193

194194
public func setColor(ofColorableRectangle widget: Widget, to color: SwiftCrossUI.Color) {

0 commit comments

Comments
 (0)