Fix item icon overflow visibility
This commit is contained in:
1 parent
b4ff755de9
commit
aa13562433
2 files changed
+122
-85
No files matched your search
@@ -75,7 +75,7 @@ export class ModifierBar extends Phaser.GameObjects.Container {
|
||||
}
|
||||
|
||||
updateModifierOverflowVisibility(ignoreLimit: boolean) {
|
||||
for (let modifier of this.getAll().map(m => m as Phaser.GameObjects.Container).slice(iconOverflowIndex))
|
||||
for (let modifier of this.getAll().map(m => m as Phaser.GameObjects.Container).slice(0, this.getAll().length - iconOverflowIndex))
|
||||
modifier.setVisible(ignoreLimit);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user