mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-24 01:02:19 +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();
|
return this.getFilter(col).getVals();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resetSelection(col: DropDownColumn): void {
|
||||||
|
this.dropDowns[col].resetToDefault();
|
||||||
|
this.updateFilterLabels();
|
||||||
|
}
|
||||||
|
|
||||||
setValsToDefault(): void {
|
setValsToDefault(): void {
|
||||||
for (const dropDown of this.dropDowns) {
|
for (const dropDown of this.dropDowns) {
|
||||||
dropDown.resetToDefault();
|
dropDown.resetToDefault();
|
||||||
|
Loading…
Reference in New Issue
Block a user