private void OnSongMetaChangeEvent(ISongMetaChangeEvent changeEvent) { if (!(changeEvent is LoadedMementoEvent)) { AddUndoState(); } }
private void OnSongMetaChanged(ISongMetaChangeEvent changeEvent) { if (changeEvent is LyricsChangedEvent) { UpdateLyrics(); } }
private void OnSongMetaChanged(ISongMetaChangeEvent changeEvent) { if (changeEvent is BpmChangeEvent || changeEvent is LoadedMementoEvent) { SetViewportHorizontal(ViewportX, ViewportWidth); } }
private void OnSongChanged(ISongMetaChangeEvent changeEvent) { if (changeEvent is BpmChangeEvent || changeEvent is LoadedMementoEvent) { SetBpm(songMeta.Bpm); } }
private void OnSongMetaChanged(ISongMetaChangeEvent changeEvent) { if (changeEvent is MusicGapChangedEvent || changeEvent is LoadedMementoEvent) { UpdateUiText(); } }
private void OnSongMetaChanged(ISongMetaChangeEvent changeEvent) { if (changeEvent is LyricsChangedEvent) { return; } UpdateNoteOverviewImage(); }
private void OnSongMetaChanged(ISongMetaChangeEvent changeEvent) { if (changeEvent is LyricsChangedEvent) { return; } UpdateIssues(); }
private void OnSongMetaChanged(ISongMetaChangeEvent changeEvent) { if (changeEvent is LyricsChangedEvent) { return; } issues = SongMetaAnalyzer.AnalyzeIssues(songMeta); UpdateIssues(); }
private void OnSongMetaChanged(ISongMetaChangeEvent changeEvent) { if (!(changeEvent is MovedNotesToVoiceEvent)) { return; } IReadOnlyCollection <Note> notes = (changeEvent as MovedNotesToVoiceEvent).notes; foreach (Note note in notes) { if (note.Sentence != null) { RemoveNoteFromAllLayers(note); } } }
private void OnSongMetaChangeEvent(ISongMetaChangeEvent changeEvent) { ReloadSentences(); UpdateNotesAndSentences(); }