@famibee/skynovel 1.22.1 → 1.22.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/CHANGELOG.md +10 -0
- package/app.js +1 -1
- package/core/lib/sn/SysBase.d.ts +1 -1
- package/package.json +1 -1
- package/web.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## [1.22.2](https://github.com/famibee/SKYNovel/compare/v1.22.1...v1.22.2) (2021-12-09)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* 画像ボタンで、マウスホバー・クリック時の表示変化しない件 ([f30f11c](https://github.com/famibee/SKYNovel/commit/f30f11c3678730ae9e433384a2bf0a05e30e5dd6))
|
|
7
|
+
|
|
8
|
+
- fix: 画像ボタンで、マウスホバー・クリック時の表示変化しない件
|
|
9
|
+
|
|
10
|
+
|
|
1
11
|
## [1.22.1](https://github.com/famibee/SKYNovel/compare/v1.22.0...v1.22.1) (2021-12-09)
|
|
2
12
|
|
|
3
13
|
|
package/app.js
CHANGED
|
@@ -66888,7 +66888,7 @@ class Button extends pixi_js_1.Container {
|
|
|
66888
66888
|
oName.type = 'pic';
|
|
66889
66889
|
__classPrivateFieldSet(this, _Button_idc, new DesignCast_1.PicBtnDesignCast(this, hArg), "f");
|
|
66890
66890
|
if (enabled)
|
|
66891
|
-
this.evtMng.button(this.hArg, this, __classPrivateFieldGet(this, _Button_normal, "f"), __classPrivateFieldGet(this, _Button_hover, "f"), __classPrivateFieldGet(this, _Button_clicked, "f"));
|
|
66891
|
+
this.evtMng.button(this.hArg, this, () => __classPrivateFieldGet(this, _Button_normal, "f").call(this), () => __classPrivateFieldGet(this, _Button_hover, "f").call(this), () => __classPrivateFieldGet(this, _Button_clicked, "f").call(this));
|
|
66892
66892
|
if (!GrpLayer_1.GrpLayer.csv2Sprites(hArg.pic, this, sp => {
|
|
66893
66893
|
__classPrivateFieldGet(this, _Button_instances, "m", _Button_loaded_pic).call(this, sp, oName);
|
|
66894
66894
|
__classPrivateFieldGet(this, _Button_rctBtnTxt, "f").width = sp.width * oName.scale_x;
|
package/core/lib/sn/SysBase.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ export declare class SysBase implements ISysBase {
|
|
|
52
52
|
protected readonly window: ITag;
|
|
53
53
|
setTitleInfo(txt: string): void;
|
|
54
54
|
decStr(ext: string, d: string): string;
|
|
55
|
-
dec(ext: string, d: ArrayBuffer): Promise<string |
|
|
55
|
+
dec(ext: string, d: ArrayBuffer): Promise<string | HTMLImageElement | HTMLVideoElement | ArrayBuffer>;
|
|
56
56
|
protected enc: (d: string) => string;
|
|
57
57
|
protected stk: () => string;
|
|
58
58
|
hash: (_data: string) => string;
|
package/package.json
CHANGED
package/web.js
CHANGED
|
@@ -68236,7 +68236,7 @@ class Button extends pixi_js_1.Container {
|
|
|
68236
68236
|
oName.type = 'pic';
|
|
68237
68237
|
__classPrivateFieldSet(this, _Button_idc, new DesignCast_1.PicBtnDesignCast(this, hArg), "f");
|
|
68238
68238
|
if (enabled)
|
|
68239
|
-
this.evtMng.button(this.hArg, this, __classPrivateFieldGet(this, _Button_normal, "f"), __classPrivateFieldGet(this, _Button_hover, "f"), __classPrivateFieldGet(this, _Button_clicked, "f"));
|
|
68239
|
+
this.evtMng.button(this.hArg, this, () => __classPrivateFieldGet(this, _Button_normal, "f").call(this), () => __classPrivateFieldGet(this, _Button_hover, "f").call(this), () => __classPrivateFieldGet(this, _Button_clicked, "f").call(this));
|
|
68240
68240
|
if (!GrpLayer_1.GrpLayer.csv2Sprites(hArg.pic, this, sp => {
|
|
68241
68241
|
__classPrivateFieldGet(this, _Button_instances, "m", _Button_loaded_pic).call(this, sp, oName);
|
|
68242
68242
|
__classPrivateFieldGet(this, _Button_rctBtnTxt, "f").width = sp.width * oName.scale_x;
|