private void OnSongMetaChanged(SongMetaChangeEvent changeEvent) { if (changeEvent is BpmChangeEvent || changeEvent is LoadedMementoEvent) { SetViewportHorizontal(ViewportX, ViewportWidth); } }
private void OnSongMetaChanged(SongMetaChangeEvent changeEvent) { if (changeEvent is MusicGapChangedEvent || changeEvent is LoadedMementoEvent) { UpdateUiText(); } }
private void OnSongChanged(SongMetaChangeEvent changeEvent) { if (changeEvent is BpmChangeEvent || changeEvent is LoadedMementoEvent) { SetBpm(songMeta.Bpm); } }
private void OnSongMetaChangeEvent(SongMetaChangeEvent changeEvent) { if (changeEvent.Undoable && !(changeEvent is LoadedMementoEvent)) { AddUndoState(); } }
private void OnSongMetaChanged(SongMetaChangeEvent changeEvent) { if (changeEvent is LyricsChangedEvent) { return; } UpdateNoteOverviewImage(); }
private void OnSongMetaChanged(SongMetaChangeEvent changeEvent) { if (lyricsAreaMode == LyricsAreaMode.ViewMode && (changeEvent is LyricsChangedEvent || changeEvent is LoadedMementoEvent)) { UpdateLyrics(); } }
private void OnSongMetaChanged(SongMetaChangeEvent changeEvent) { if (lyricsAreaMode == LyricsAreaMode.ViewMode && (changeEvent is LyricsChangedEvent || changeEvent is LoadedMementoEvent || changeEvent is MovedNotesToVoiceEvent)) { UpdateLyrics(); } if (changeEvent is MovedNotesToVoiceEvent) { UpdateVoiceButtons(); } }
private void OnSongMetaChanged(SongMetaChangeEvent changeEvent) { if (!(changeEvent is MovedNotesToVoiceEvent)) { return; } IReadOnlyCollection <Note> notes = (changeEvent as MovedNotesToVoiceEvent).notes; foreach (Note note in notes) { if (note.Sentence != null) { RemoveNoteFromAllLayers(note); } } }