Skip to content

Commit

Permalink
Ensured unmounted function will translate
Browse files Browse the repository at this point in the history
  • Loading branch information
tredfern committed Apr 9, 2020
1 parent 7809b4b commit d83f0d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion moonpie/ui/components/component.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ local copy_props = {
"position",
"style",
"target_layer",
"unmount",
"unmounted",
"width"
}

Expand Down
2 changes: 1 addition & 1 deletion moonpie/ui/components/component_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ describe("Component", function()
position = "absolute",
style = "some",
target_layer = "layer",
unmount = function() end,
unmounted = function() end,
width = 250
--do_not_copy = "fail"
}
Expand Down

0 comments on commit d83f0d2

Please sign in to comment.