Merge pull request #1219 from thecodingmachine/rex_outline
Putting an outline on the character name
This commit is contained in:
commit
ee07f637fa
3 changed files with 40 additions and 1 deletions
|
@ -69,6 +69,10 @@ export abstract class DirtyScene extends ResizableScene {
|
|||
return this.dirty || this.objectListChanged;
|
||||
}
|
||||
|
||||
public markDirty(): void {
|
||||
this.events.once(Phaser.Scenes.Events.POST_UPDATE, () => this.dirty = true);
|
||||
}
|
||||
|
||||
public onResize(): void {
|
||||
this.objectListChanged = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue