Skip to content

Commit

Permalink
Fix classNames property of AgsWidget not being `ValueOrBinding (A…
Browse files Browse the repository at this point in the history
…rray String)` but instead just `Array String`
  • Loading branch information
postsolar committed Feb 26, 2024
1 parent e34e8ba commit 072d786
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- Fix `classNames` property of `AgsWidget` not being `ValueOrBinding (Array String)` but instead just `Array String`

- Turn `GioFileMonitorEvent` into an enum (instead of opaque type) (#15)

- Internal: allow `GObjectSignal` instances to override callbacks (e.g. to map GJS types to more rict PureScript types) (#15)
Expand Down
2 changes: 1 addition & 1 deletion src/AGS/Widget/Internal.purs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ type AGSWidgetProps r =
+
( setupEffectFn1 Widget Unit
, classNameValueOrBinding String
, classNamesArray String
, classNamesValueOrBinding (Array String)
, cssValueOrBinding String
, hpackValueOrBinding String {- TODO make it a proper type -}
, vpackValueOrBinding String {- TODO make it a proper type -}
Expand Down

0 comments on commit 072d786

Please sign in to comment.