@makefully/platypus 4.1.13 → 4.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/lib/platypus.css +4 -6
- package/lib/platypus.js +1 -1
- package/package.json +1 -1
- package/src/PIXIAnimation.js +6 -0
- package/src/components/RenderSprite.js +7 -2
- package/src/platypus.css +4 -6
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [4.1.14] - 2026-08-03
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **PIXIAnimation:** `stop()` / `play()` now pause and resume the active child `AnimatedSprite`, so `stop-animation` freezes on the current frame instead of only toggling the wrapper `playing` flag.
|
|
15
|
+
- **RenderSprite:** Passes the sprite's actual paused state to `update-animation` and skips `update` while paused.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- **platypus.css:** Set `touch-action: none` on the platypus canvas; drop obsolete `-moz-`/`-ms-` `user-select` prefixes and keep `-webkit-user-select`.
|
|
20
|
+
|
|
10
21
|
## [4.1.13] - 2026-07-28
|
|
11
22
|
|
|
12
23
|
### Fixed
|
package/lib/platypus.css
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
div#captions {
|
|
2
|
-
user-select: none;
|
|
3
|
-
-moz-user-select: none;
|
|
4
2
|
-webkit-user-select: none;
|
|
5
|
-
|
|
3
|
+
user-select: none;
|
|
6
4
|
-webkit-touch-callout: none;
|
|
7
5
|
}
|
|
8
6
|
|
|
@@ -11,11 +9,10 @@ canvas.platypus-canvas {
|
|
|
11
9
|
position: relative;
|
|
12
10
|
width: 100%;
|
|
13
11
|
|
|
14
|
-
user-select: none;
|
|
15
|
-
-moz-user-select: none;
|
|
16
12
|
-webkit-user-select: none;
|
|
17
|
-
|
|
13
|
+
user-select: none;
|
|
18
14
|
-webkit-touch-callout: none;
|
|
15
|
+
touch-action: none;
|
|
19
16
|
}
|
|
20
17
|
|
|
21
18
|
.platypus-debugging {
|
|
@@ -28,6 +25,7 @@ canvas.platypus-canvas {
|
|
|
28
25
|
z-index: 2;
|
|
29
26
|
font-family: "Lucida Console", Monaco, monospace;
|
|
30
27
|
-webkit-touch-callout: none;
|
|
28
|
+
-webkit-user-select: none;
|
|
31
29
|
user-select: none;
|
|
32
30
|
cursor: default;
|
|
33
31
|
margin: 0;
|