Skip to content

Commit 9b59144

Browse files
committed
Add missing parts to GtkBackend.updateDatePicker
1 parent 12265d2 commit 9b59144

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Sources/GtkBackend/GtkBackend.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1526,6 +1526,9 @@ public final class GtkBackend: AppBackend {
15261526
calendarWidget.daySelected = { calendarWidget in
15271527
onChange(calendarWidget.date)
15281528
}
1529+
calendarWidget.sensitive = environment.isEnabled
1530+
calendarWidget.css.clear()
1531+
calendarWidget.css.set(properties: Self.cssProperties(for: environment, isControl: true))
15291532
}
15301533

15311534
// MARK: Helpers

0 commit comments

Comments
 (0)