@coderline/alphatab 1.9.0-alpha.1861 → 1.9.0-alpha.1869
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.core.min.mjs +2 -2
- package/dist/alphaTab.core.mjs +7 -8
- package/dist/alphaTab.d.ts +2 -1
- package/dist/alphaTab.js +7 -8
- package/dist/alphaTab.min.js +2 -2
- package/dist/alphaTab.min.mjs +1 -1
- package/dist/alphaTab.mjs +1 -1
- package/dist/alphaTab.worker.min.mjs +1 -1
- package/dist/alphaTab.worker.mjs +1 -1
- package/dist/alphaTab.worklet.min.mjs +1 -1
- package/dist/alphaTab.worklet.mjs +1 -1
- package/package.json +1 -1
package/dist/alphaTab.core.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* alphaTab v1.9.0-alpha.
|
|
2
|
+
* alphaTab v1.9.0-alpha.1869 (develop, build 1869)
|
|
3
3
|
*
|
|
4
4
|
* Copyright © 2026, Daniel Kuschny and Contributors, All rights reserved.
|
|
5
5
|
*
|
|
@@ -186,9 +186,9 @@ class AlphaTabError extends Error {
|
|
|
186
186
|
* @internal
|
|
187
187
|
*/
|
|
188
188
|
class VersionInfo {
|
|
189
|
-
static version = "1.9.0-alpha.
|
|
190
|
-
static date = "2026-07-
|
|
191
|
-
static commit = "
|
|
189
|
+
static version = "1.9.0-alpha.1869";
|
|
190
|
+
static date = "2026-07-19T03:42:49.478Z";
|
|
191
|
+
static commit = "2889cac4e359a41b6f24a82034e6f6ba4f9f4c4f";
|
|
192
192
|
static print(print) {
|
|
193
193
|
print(`alphaTab ${VersionInfo.version}`);
|
|
194
194
|
print(`commit: ${VersionInfo.commit}`);
|
|
@@ -48200,6 +48200,7 @@ class AlphaTabApiBase {
|
|
|
48200
48200
|
if (currentHandler !== void 0 && this._cursorHandlerMode === cursorHandlerMode) return;
|
|
48201
48201
|
if (cursorHandlerMode) this._defaultCursorHandler = new ToNextBeatAnimatingCursorHandler();
|
|
48202
48202
|
else this._defaultCursorHandler = new NonAnimatingCursorHandler();
|
|
48203
|
+
this._cursorHandlerMode = cursorHandlerMode;
|
|
48203
48204
|
}
|
|
48204
48205
|
_scrollHandlerMode = ScrollMode.Off;
|
|
48205
48206
|
_scrollHandlerVertical = true;
|
|
@@ -48329,10 +48330,8 @@ class AlphaTabApiBase {
|
|
|
48329
48330
|
shouldScroll = !stop;
|
|
48330
48331
|
shouldNotifyBeatChange = true;
|
|
48331
48332
|
}
|
|
48332
|
-
|
|
48333
|
-
|
|
48334
|
-
if (handler) handler.onBeatCursorUpdating(beatBoundings, nextBeatBoundings === null ? void 0 : nextBeatBoundings, cursorMode, startBeatX, nextBeatX, duration);
|
|
48335
|
-
}
|
|
48333
|
+
const handler = this.customScrollHandler ?? this._defaultScrollHandler;
|
|
48334
|
+
if (shouldScroll && !this._isBeatMouseDown && handler) handler.onBeatCursorUpdating(beatBoundings, nextBeatBoundings === null ? void 0 : nextBeatBoundings, cursorMode, startBeatX, nextBeatX, duration);
|
|
48336
48335
|
if (shouldNotifyBeatChange) {
|
|
48337
48336
|
this._onPlayedBeatChanged(beat);
|
|
48338
48337
|
this._onActiveBeatsChanged(new ActiveBeatsChangedEventArgs(beatsToHighlight.map((i) => i.beat)));
|
package/dist/alphaTab.d.ts
CHANGED
|
@@ -3236,6 +3236,7 @@ export declare namespace alphaTex {
|
|
|
3236
3236
|
IAlphaTexAstNode,
|
|
3237
3237
|
IAlphaTexMetaDataTagPrefixNode,
|
|
3238
3238
|
IAlphaTexNoteValueNode,
|
|
3239
|
+
IAlphaTexStringSeparatorNode,
|
|
3239
3240
|
AlphaTexLexer,
|
|
3240
3241
|
AlphaTexParseMode,
|
|
3241
3242
|
AlphaTexParser,
|
|
@@ -9547,7 +9548,7 @@ declare interface IContainer {
|
|
|
9547
9548
|
*
|
|
9548
9549
|
* @public
|
|
9549
9550
|
*/
|
|
9550
|
-
declare interface ICursorHandler {
|
|
9551
|
+
export declare interface ICursorHandler {
|
|
9551
9552
|
/**
|
|
9552
9553
|
* Called when this handler activates. This can be on dynamic cursor creation
|
|
9553
9554
|
* or when setting a custom handler with cursors already created.
|
package/dist/alphaTab.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* alphaTab v1.9.0-alpha.
|
|
2
|
+
* alphaTab v1.9.0-alpha.1869 (develop, build 1869)
|
|
3
3
|
*
|
|
4
4
|
* Copyright © 2026, Daniel Kuschny and Contributors, All rights reserved.
|
|
5
5
|
*
|
|
@@ -190,9 +190,9 @@
|
|
|
190
190
|
* @internal
|
|
191
191
|
*/
|
|
192
192
|
var VersionInfo = class VersionInfo {
|
|
193
|
-
static version = "1.9.0-alpha.
|
|
194
|
-
static date = "2026-07-
|
|
195
|
-
static commit = "
|
|
193
|
+
static version = "1.9.0-alpha.1869";
|
|
194
|
+
static date = "2026-07-19T03:42:49.478Z";
|
|
195
|
+
static commit = "2889cac4e359a41b6f24a82034e6f6ba4f9f4c4f";
|
|
196
196
|
static print(print) {
|
|
197
197
|
print(`alphaTab ${VersionInfo.version}`);
|
|
198
198
|
print(`commit: ${VersionInfo.commit}`);
|
|
@@ -48204,6 +48204,7 @@
|
|
|
48204
48204
|
if (currentHandler !== void 0 && this._cursorHandlerMode === cursorHandlerMode) return;
|
|
48205
48205
|
if (cursorHandlerMode) this._defaultCursorHandler = new ToNextBeatAnimatingCursorHandler();
|
|
48206
48206
|
else this._defaultCursorHandler = new NonAnimatingCursorHandler();
|
|
48207
|
+
this._cursorHandlerMode = cursorHandlerMode;
|
|
48207
48208
|
}
|
|
48208
48209
|
_scrollHandlerMode = ScrollMode.Off;
|
|
48209
48210
|
_scrollHandlerVertical = true;
|
|
@@ -48333,10 +48334,8 @@
|
|
|
48333
48334
|
shouldScroll = !stop;
|
|
48334
48335
|
shouldNotifyBeatChange = true;
|
|
48335
48336
|
}
|
|
48336
|
-
|
|
48337
|
-
|
|
48338
|
-
if (handler) handler.onBeatCursorUpdating(beatBoundings, nextBeatBoundings === null ? void 0 : nextBeatBoundings, cursorMode, startBeatX, nextBeatX, duration);
|
|
48339
|
-
}
|
|
48337
|
+
const handler = this.customScrollHandler ?? this._defaultScrollHandler;
|
|
48338
|
+
if (shouldScroll && !this._isBeatMouseDown && handler) handler.onBeatCursorUpdating(beatBoundings, nextBeatBoundings === null ? void 0 : nextBeatBoundings, cursorMode, startBeatX, nextBeatX, duration);
|
|
48340
48339
|
if (shouldNotifyBeatChange) {
|
|
48341
48340
|
this._onPlayedBeatChanged(beat);
|
|
48342
48341
|
this._onActiveBeatsChanged(new ActiveBeatsChangedEventArgs(beatsToHighlight.map((i) => i.beat)));
|