Skip to content

Commit bdae1b8

Browse files
authored
Merge pull request #39 from openpatch/changeset
Release v5.4.1
2 parents c57b5e6 + 3d6e48b commit bdae1b8

3 files changed

Lines changed: 13 additions & 11 deletions

File tree

‎.changeset/size-before-costume.md‎

Lines changed: 0 additions & 9 deletions
This file was deleted.

‎CHANGELOG.md‎

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,20 @@
11
---
22
name: Changelog
3-
index: 69
3+
index: 70
44
lang: en
55
---
66

7+
## 5.4.1
8+
9+
10+
11+
A sprite's size now also applies to costumes added after `setSize(...)`.
12+
`setSize` only resized the costumes the sprite already had, so a sprite that
13+
set its size in the constructor and got its costume later, for example from a
14+
subclass, was drawn at 100 %. `addCostume(...)` and `addCostumes(...)` now give
15+
a new costume the sprite's current size, as the Online IDE already did.
16+
17+
718
## 5.4.0
819

920

‎pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>org.openpatch</groupId>
77
<artifactId>scratch</artifactId>
8-
<version>5.4.0</version>
8+
<version>5.4.1</version>
99
<packaging>jar</packaging>
1010

1111
<name>Scratch for Java</name>

0 commit comments

Comments
 (0)