Skip to content

Commit

Permalink
Panel: fix wrong variable used for removeEventListener() call
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtynjala committed Oct 5, 2023
1 parent 0afb1eb commit a1a5fd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/feathers/controls/Panel.hx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class Panel extends ScrollContainer implements IFocusExtras {
return this._footer;
}
if (this._footer != null) {
this._header.removeEventListener(Event.RESIZE, panel_header_resizeHandler);
this._footer.removeEventListener(Event.RESIZE, panel_footer_resizeHandler);
this._focusExtrasAfter.remove(this._footer);
this.removeRawChild(this._footer);
}
Expand Down

0 comments on commit a1a5fd3

Please sign in to comment.