mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-06-26 06:10:26 -04:00
Always activate the current costume after deleting
This commit is contained in:
parent
423da12c3c
commit
3eaec99e51
1 changed files with 2 additions and 0 deletions
|
@ -405,6 +405,8 @@ class RenderedTarget extends Target {
|
|||
this.setCostume(index - 1);
|
||||
} else if (index < this.currentCostume) {
|
||||
this.setCostume(this.currentCostume - 1);
|
||||
} else {
|
||||
this.setCostume(this.currentCostume);
|
||||
}
|
||||
|
||||
this.runtime.requestTargetsUpdate(this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue