Skip to content

Commit

Permalink
Merge branch 'master' of github.com:bhaviksingh/Choreoh
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Zhu committed May 1, 2012
2 parents 259b7b2 + 9b117c3 commit 2ed9c26
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Choreoh/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,8 @@ private void deleteSegmentButton_Clicked(object sender, EventArgs e)
private void cancelSegmentButton_Clicked(object sender, EventArgs e)
{
cancelActionButton_Clicked(sender, e);
waveform.selectStart(0);
waveform.selectEnd(1);
waveform.deselectSegment();
fixSegmentIndices();
}
Expand Down Expand Up @@ -1567,6 +1569,15 @@ private void cancelActionButton_Clicked(object sender, EventArgs e)
showAllSegments();
cancelActionCanvas.Visibility = Visibility.Collapsed;
Canvas.SetZIndex(timelineCanvas, oldButtonZIndex);

isSelectingEndSegment = false;
isSelectingPlaySegment = false;
isSelectingPlaySongSelection = false;
isSelectingRecordSegment = false;
isSelectingStartSegment = false;
waveform.selectStart(0);
waveform.selectEnd(1);
waveform.deselectSegment();
}

}
Expand Down

0 comments on commit 2ed9c26

Please sign in to comment.