Skip to content

Commit

Permalink
Control updates dont collapse tables (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
vocksel authored Nov 9, 2024
1 parent c443806 commit faa1625
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/render.luau
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ local function render<T>(container: Instance, story: Story<T>): RenderLifecycle
local function update(newControls: StoryControls?)
if renderer.update then
local props = Sift.Dictionary.join(prevProps, {
controls = newControls,
controls = if newControls then collapseControls(newControls) else nil,
})

renderer.update(props, prevProps)
Expand Down
2 changes: 1 addition & 1 deletion wally.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "flipbook-labs/storyteller"
version = "0.4.0"
version = "0.4.1"
license = "MIT"
registry = "https://github.com/UpliftGames/wally-index"
realm = "shared"
Expand Down

0 comments on commit faa1625

Please sign in to comment.