feat: added track scope mode for sheet music view; adjusted viewport behavior when switching between piano roll view and sheet music view
This commit is contained in:
@@ -16,6 +16,7 @@ export class KGPianoRollState {
|
||||
private automationViewEnabled: boolean = false;
|
||||
private currentAutomationType: string = "pitch-bend";
|
||||
private sheetMusicViewEnabled: boolean = false;
|
||||
private sheetMusicTrackScopeEnabled: boolean = false;
|
||||
private sheetQuantization: string = '16,48';
|
||||
|
||||
// Chord guide state
|
||||
@@ -93,6 +94,14 @@ export class KGPianoRollState {
|
||||
this.sheetMusicViewEnabled = enabled;
|
||||
}
|
||||
|
||||
public getSheetMusicTrackScopeEnabled(): boolean {
|
||||
return this.sheetMusicTrackScopeEnabled;
|
||||
}
|
||||
|
||||
public setSheetMusicTrackScopeEnabled(enabled: boolean): void {
|
||||
this.sheetMusicTrackScopeEnabled = enabled;
|
||||
}
|
||||
|
||||
public getSheetQuantization(): string {
|
||||
return this.sheetQuantization;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user