danoniplus 38.0.1 → 38.0.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/js/danoni_main.js +3 -3
- package/js/lib/legacy_functions.js +3 -3
- package/package.json +1 -1
package/js/danoni_main.js
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
*
|
|
5
5
|
* Source by tickle
|
|
6
6
|
* Created : 2018/10/08
|
|
7
|
-
* Revised : 2024/11/
|
|
7
|
+
* Revised : 2024/11/07
|
|
8
8
|
*
|
|
9
9
|
* https://github.com/cwtickle/danoniplus
|
|
10
10
|
*/
|
|
11
|
-
const g_version = `Ver 38.0.
|
|
12
|
-
const g_revisedDate = `2024/11/
|
|
11
|
+
const g_version = `Ver 38.0.2`;
|
|
12
|
+
const g_revisedDate = `2024/11/07`;
|
|
13
13
|
|
|
14
14
|
// カスタム用バージョン (danoni_custom.js 等で指定可)
|
|
15
15
|
let g_localVersion = ``;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*
|
|
6
6
|
* Source by tickle
|
|
7
7
|
* Created : 2024/10/29
|
|
8
|
-
* Revised :
|
|
8
|
+
* Revised : 2024/11/07 (v38.0.2)
|
|
9
9
|
*
|
|
10
10
|
* https://github.com/cwtickle/danoniplus
|
|
11
11
|
*/
|
|
@@ -37,7 +37,7 @@ const createColorObject = (_id, color, x, y, w, h, rotate = ``, styleName = ``)
|
|
|
37
37
|
/** @deprecated */
|
|
38
38
|
const createButton = (_obj, _func) => {
|
|
39
39
|
const div = createCss2Button(_obj.id, _obj.name, _func, {
|
|
40
|
-
x: _obj.x, y: _obj.y, w: _obj.
|
|
40
|
+
x: _obj.x, y: _obj.y, w: _obj.width, h: _obj.height,
|
|
41
41
|
siz: _obj?.fontsize, align: _obj?.align, animationName: _obj?.animationName,
|
|
42
42
|
backgroundColor: _obj?.normalColor,
|
|
43
43
|
});
|
|
@@ -48,7 +48,7 @@ const createButton = (_obj, _func) => {
|
|
|
48
48
|
/** @deprecated */
|
|
49
49
|
const createCssButton = (_obj, _func) =>
|
|
50
50
|
createCss2Button(_obj.id, _obj.name, _func, {
|
|
51
|
-
x: _obj?.x, y: _obj?.y, w: _obj?.
|
|
51
|
+
x: _obj?.x, y: _obj?.y, w: _obj?.width, h: _obj?.height,
|
|
52
52
|
siz: _obj?.fontsize, align: _obj?.align, animationName: _obj?.animationName
|
|
53
53
|
}, _obj?.class);
|
|
54
54
|
|