@open-slot-ui/pixi 0.3.0 → 0.3.1
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 +0 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +0 -16
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -3413,22 +3413,6 @@ var OpenUIPixi = class {
|
|
|
3413
3413
|
const dialog = new DialogView(this.ui.noticePanel, this.ui.noticeBlocks, this.ui.noticeActions, this.ui, ticker, { controlSkins: this.opts.controlSkins });
|
|
3414
3414
|
this.root.addChild(dialog);
|
|
3415
3415
|
this.overlays.push(dialog);
|
|
3416
|
-
const vignette = new Graphics();
|
|
3417
|
-
vignette.zIndex = -1;
|
|
3418
|
-
this.root.addChild(vignette);
|
|
3419
|
-
this.overlays.push({
|
|
3420
|
-
applyLayout: (s) => {
|
|
3421
|
-
const r = 200 * s.scale;
|
|
3422
|
-
vignette.clear();
|
|
3423
|
-
for (let i = 0; i < 14; i++) {
|
|
3424
|
-
const t = i / 14;
|
|
3425
|
-
vignette.circle(0, 0, r * (1 - t)).fill({ color: 0, alpha: 0.5 / 14 });
|
|
3426
|
-
}
|
|
3427
|
-
},
|
|
3428
|
-
dispose: () => {
|
|
3429
|
-
if (!vignette.destroyed) vignette.destroy();
|
|
3430
|
-
}
|
|
3431
|
-
});
|
|
3432
3416
|
const replayBadge = new Container();
|
|
3433
3417
|
const replayBg = new Graphics();
|
|
3434
3418
|
const replayText = new Text({ text: this.ui.t("openui.replay").toUpperCase(), style: { fontFamily: this.ui.theme.type.family, fontSize: 16, fontWeight: "800", fill: 16777215, letterSpacing: 2 } });
|