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