@coderline/alphatab 1.3.0-alpha.193 → 1.3.0-alpha.194
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/alphaTab.js +7 -7
- package/dist/alphaTab.min.js +2 -2
- package/dist/alphaTab.min.mjs +2 -2
- package/dist/alphaTab.mjs +7 -7
- package/package.json +1 -1
package/dist/alphaTab.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* alphaTab v1.3.0-alpha.
|
|
2
|
+
* alphaTab v1.3.0-alpha.194 (develop, build 194)
|
|
3
3
|
*
|
|
4
4
|
* Copyright © 2022, Daniel Kuschny and Contributors, All rights reserved.
|
|
5
5
|
*
|
|
@@ -4702,19 +4702,19 @@
|
|
|
4702
4702
|
if (json.startsWith('#')) {
|
|
4703
4703
|
if (json.length === 4) {
|
|
4704
4704
|
// #RGB
|
|
4705
|
-
return new Color(parseInt(json
|
|
4705
|
+
return new Color(parseInt(json[1], 16) * 17, parseInt(json[2], 16) * 17, parseInt(json[3], 16) * 17);
|
|
4706
4706
|
}
|
|
4707
4707
|
if (json.length === 5) {
|
|
4708
4708
|
// #RGBA
|
|
4709
|
-
return new Color(parseInt(json
|
|
4709
|
+
return new Color(parseInt(json[1], 16) * 17, parseInt(json[2], 16) * 17, parseInt(json[3], 16) * 17, parseInt(json[4], 16) * 17);
|
|
4710
4710
|
}
|
|
4711
4711
|
if (json.length === 7) {
|
|
4712
4712
|
// #RRGGBB
|
|
4713
|
-
return new Color(parseInt(json.substring(1,
|
|
4713
|
+
return new Color(parseInt(json.substring(1, 3), 16), parseInt(json.substring(3, 5), 16), parseInt(json.substring(5, 7), 16));
|
|
4714
4714
|
}
|
|
4715
4715
|
if (json.length === 9) {
|
|
4716
4716
|
// #RRGGBBAA
|
|
4717
|
-
return new Color(parseInt(json.substring(1,
|
|
4717
|
+
return new Color(parseInt(json.substring(1, 3), 16), parseInt(json.substring(3, 5), 16), parseInt(json.substring(5, 7), 16), parseInt(json.substring(7, 9), 16));
|
|
4718
4718
|
}
|
|
4719
4719
|
}
|
|
4720
4720
|
else if (json.startsWith('rgba') || json.startsWith('rgb')) {
|
|
@@ -40647,8 +40647,8 @@
|
|
|
40647
40647
|
// </auto-generated>
|
|
40648
40648
|
class VersionInfo {
|
|
40649
40649
|
}
|
|
40650
|
-
VersionInfo.version = '1.3.0-alpha.
|
|
40651
|
-
VersionInfo.date = '2022-03-
|
|
40650
|
+
VersionInfo.version = '1.3.0-alpha.194';
|
|
40651
|
+
VersionInfo.date = '2022-03-02T00:39:10.281Z';
|
|
40652
40652
|
|
|
40653
40653
|
var index$5 = /*#__PURE__*/Object.freeze({
|
|
40654
40654
|
__proto__: null,
|