mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-21 07:42:25 +02:00
Function to resect selection in filter bar
This commit is contained in:
parent
f5868f0a80
commit
7d25fbb4b2
@ -185,6 +185,11 @@ export class FilterBar extends Phaser.GameObjects.Container {
|
||||
return this.getFilter(col).getVals();
|
||||
}
|
||||
|
||||
resetSelection(col: DropDownColumn): void {
|
||||
this.dropDowns[col].resetToDefault();
|
||||
this.updateFilterLabels();
|
||||
}
|
||||
|
||||
setValsToDefault(): void {
|
||||
for (const dropDown of this.dropDowns) {
|
||||
dropDown.resetToDefault();
|
||||
|
Loading…
Reference in New Issue
Block a user