private void OnSongMetaChangeEvent(ISongMetaChangeEvent changeEvent)
 {
     if (!(changeEvent is LoadedMementoEvent))
     {
         AddUndoState();
     }
 }
示例#2
0
 private void OnSongMetaChanged(ISongMetaChangeEvent changeEvent)
 {
     if (changeEvent is LyricsChangedEvent)
     {
         UpdateLyrics();
     }
 }
示例#3
0
 private void OnSongMetaChanged(ISongMetaChangeEvent changeEvent)
 {
     if (changeEvent is BpmChangeEvent || changeEvent is LoadedMementoEvent)
     {
         SetViewportHorizontal(ViewportX, ViewportWidth);
     }
 }
示例#4
0
 private void OnSongChanged(ISongMetaChangeEvent changeEvent)
 {
     if (changeEvent is BpmChangeEvent || changeEvent is LoadedMementoEvent)
     {
         SetBpm(songMeta.Bpm);
     }
 }
示例#5
0
 private void OnSongMetaChanged(ISongMetaChangeEvent changeEvent)
 {
     if (changeEvent is MusicGapChangedEvent || changeEvent is LoadedMementoEvent)
     {
         UpdateUiText();
     }
 }
示例#6
0
    private void OnSongMetaChanged(ISongMetaChangeEvent changeEvent)
    {
        if (changeEvent is LyricsChangedEvent)
        {
            return;
        }

        UpdateNoteOverviewImage();
    }
示例#7
0
    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();
    }
示例#9
0
    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);
            }
        }
    }
示例#10
0
 private void OnSongMetaChangeEvent(ISongMetaChangeEvent changeEvent)
 {
     ReloadSentences();
     UpdateNotesAndSentences();
 }