@open-slot-ui/pixi 0.1.1 → 0.2.0

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 CHANGED
@@ -1513,7 +1513,7 @@ var TurboView = class extends ControlView {
1513
1513
  } else {
1514
1514
  this.art.addChild(this.bg);
1515
1515
  }
1516
- this.addChild(this.art, this.pips);
1516
+ this.addChild(this.art);
1517
1517
  this.eventMode = "static";
1518
1518
  this.cursor = "pointer";
1519
1519
  this.hitArea = new pixi_js.Circle(0, 0, (this.sprite ? this.target / 2 : this.radius) + 8);
@@ -1528,7 +1528,6 @@ var TurboView = class extends ControlView {
1528
1528
  turbo;
1529
1529
  art = new pixi_js.Container();
1530
1530
  bg = new pixi_js.Graphics();
1531
- pips = new pixi_js.Graphics();
1532
1531
  sprite;
1533
1532
  tween;
1534
1533
  modeTex;
@@ -1565,19 +1564,6 @@ var TurboView = class extends ControlView {
1565
1564
  this.bg.circle(0, 0, r).fill({ color: lit ? th.color.accent : th.color.surface, alpha: lit ? Math.min(1, 0.55 + i * 0.25) : 1 }).stroke({ width: 4, color: th.color.accent });
1566
1565
  this.bg.poly([-6, -r * 0.42, 8, -4, 0, -4, 7, r * 0.42, -9, 2, 0, 2]).fill({ color: lit ? th.color.accentText : th.color.accent, alpha: disabled ? 0.5 : 1 });
1567
1566
  }
1568
- this.pips.clear();
1569
- const steps = this.turbo.modeCount - 1;
1570
- if (steps >= 2) {
1571
- const baseR = this.sprite ? this.target / 2 : this.radius;
1572
- const gap = 16;
1573
- const total = (steps - 1) * gap;
1574
- const y = baseR + 14;
1575
- for (let s = 0; s < steps; s++) {
1576
- const x = -total / 2 + s * gap;
1577
- const on = s < i;
1578
- this.pips.circle(x, y, 5).fill({ color: on ? th.color.accent : th.color.surface, alpha: disabled ? 0.5 : 1 }).stroke({ width: 2, color: th.color.accent, alpha: disabled ? 0.5 : 1 });
1579
- }
1580
- }
1581
1567
  }
1582
1568
  play(t) {
1583
1569
  this.animating = true;
@@ -3929,7 +3915,7 @@ function mountHud(app, spec = {}, opts = {}) {
3929
3915
  ui.showNotice(
3930
3916
  [
3931
3917
  { kind: "heading", id: "buy-title", text: o.title ?? "openui.buyFeature.title" },
3932
- { kind: "callout", id: "buy-body", tone: "bonus", text: o.message ?? "openui.buyFeature.message" }
3918
+ { kind: "text", id: "buy-body", text: o.message ?? "openui.buyFeature.message" }
3933
3919
  ],
3934
3920
  [
3935
3921
  { label: o.cancelLabel ?? "openui.cancel", variant: "secondary" },