diff --git a/.changeset/size-before-costume.md b/.changeset/size-before-costume.md deleted file mode 100644 index 411315bf..00000000 --- a/.changeset/size-before-costume.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -type: patch ---- - -A sprite's size now also applies to costumes added after `setSize(...)`. -`setSize` only resized the costumes the sprite already had, so a sprite that -set its size in the constructor and got its costume later, for example from a -subclass, was drawn at 100 %. `addCostume(...)` and `addCostumes(...)` now give -a new costume the sprite's current size, as the Online IDE already did. diff --git a/CHANGELOG.md b/CHANGELOG.md index d3a39bea..bb2df6c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,20 @@ --- name: Changelog -index: 69 +index: 70 lang: en --- +## 5.4.1 + + + +A sprite's size now also applies to costumes added after `setSize(...)`. +`setSize` only resized the costumes the sprite already had, so a sprite that +set its size in the constructor and got its costume later, for example from a +subclass, was drawn at 100 %. `addCostume(...)` and `addCostumes(...)` now give +a new costume the sprite's current size, as the Online IDE already did. + + ## 5.4.0 diff --git a/pom.xml b/pom.xml index f6e8bf7c..f32a51c3 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.openpatch scratch - 5.4.0 + 5.4.1 jar Scratch for Java