chart2music
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -554,2 +554,3 @@ var c2mChart = (function (exports) { | ||
}; | ||
this._pauseFlag = false; | ||
this._providedAudioEngine = input.audioEngine; | ||
@@ -936,5 +937,7 @@ this._title = input.title ?? ""; | ||
else if (this._groupIndex === maxGroups) { | ||
this._groupIndex++; | ||
} | ||
else if (this._groupIndex > maxGroups) { | ||
if (!this._pauseFlag) { | ||
this._pauseFlag = true; | ||
return; | ||
} | ||
this._pauseFlag = false; | ||
this._groupIndex = 0; | ||
@@ -959,6 +962,8 @@ this._pointIndex++; | ||
} | ||
else if (this._groupIndex === 0) { | ||
this._groupIndex--; | ||
} | ||
else if (this._groupIndex < min) { | ||
else if (this._groupIndex === min) { | ||
if (!this._pauseFlag) { | ||
this._pauseFlag = true; | ||
return; | ||
} | ||
this._pauseFlag = false; | ||
this._groupIndex = maxGroups; | ||
@@ -965,0 +970,0 @@ this._pointIndex--; |
@@ -26,2 +26,3 @@ import type { SonifyTypes, c2mOptions, c2mGolangReturn } from "./types"; | ||
private _providedAudioEngine?; | ||
private _pauseFlag; | ||
constructor(input: SonifyTypes); | ||
@@ -28,0 +29,0 @@ setOptions(option: c2mOptions): void; |
{ | ||
"name": "chart2music", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/index.mjs", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
100211
2439