@open-slot-ui/pixi 0.2.1 → 0.2.2
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/dist/index.cjs +5 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1708,16 +1708,17 @@ var AutoplayView = class extends ControlView {
|
|
|
1708
1708
|
const st = this.auto.current;
|
|
1709
1709
|
this.countText.visible = false;
|
|
1710
1710
|
const th = this.ui.theme;
|
|
1711
|
-
const r = this.sprite ? this.target / 2 : this.radius;
|
|
1712
1711
|
const active = st === "active";
|
|
1713
1712
|
this.eventMode = active ? "none" : "static";
|
|
1714
1713
|
this.cursor = active ? "default" : "pointer";
|
|
1715
1714
|
if (active) {
|
|
1716
|
-
this.bg.clear()
|
|
1715
|
+
this.bg.clear();
|
|
1717
1716
|
if (this.sprite) {
|
|
1718
1717
|
this.sprite.visible = true;
|
|
1719
|
-
this.sprite.tint = th.color.
|
|
1720
|
-
this.sprite.alpha = 0.
|
|
1718
|
+
this.sprite.tint = th.color.accent;
|
|
1719
|
+
this.sprite.alpha = 0.9;
|
|
1720
|
+
} else {
|
|
1721
|
+
this.bg.circle(0, 0, this.radius).fill({ color: th.color.accent }).stroke({ width: 4, color: th.color.accentText });
|
|
1721
1722
|
}
|
|
1722
1723
|
return;
|
|
1723
1724
|
}
|