private void Update() { EditorCanvas.Compute(); EditorCanvas.InvalidateVisual(); RulerCanvas.InvalidateVisual(); }
private void BeatDivisionCombo_OnSelectionChanged(object sender, SelectionChangedEventArgs e) { RulerCanvas.BeatDivision = Int32.Parse((BeatDivisionCombo.SelectedItem as ComboBoxItem).Content.ToString()); RulerCanvas.InvalidateVisual(); }