Skip to content

Commit

Permalink
Update packages/flame/lib/src/components/input/advanced_button_compon…
Browse files Browse the repository at this point in the history
…ent.dart

Co-authored-by: Lukas Klingsbo <[email protected]>
  • Loading branch information
denisgl7 and spydon authored Oct 9, 2023
1 parent 95f2e69 commit f667223
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ class AdvancedButtonComponent extends PositionComponent
}

@protected
void addSkin(ButtonState state) {
void setSkin(ButtonState state) {
(skinsMap[state] ?? defaultSkin)?.parent = skinContainer;
}

Expand Down

0 comments on commit f667223

Please sign in to comment.