Skip to content

Commit

Permalink
Merge pull request stakira#1323 from rokujyushi/Curve
Browse files Browse the repository at this point in the history
Fix ExpEdit
  • Loading branch information
stakira authored Nov 12, 2024
2 parents 2f9c2e1 + eda2008 commit 4b49dd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OpenUtau/Views/NoteEditStates.cs
Original file line number Diff line number Diff line change
Expand Up @@ -649,12 +649,12 @@ public override void Update(IPointer pointer, Point point, PointerEventArgs args
}
bool shiftHeld = args.KeyModifiers == KeyModifiers.Shift;
bool ctrlShiftHeld = args.KeyModifiers == (KeyModifiers.Control | KeyModifiers.Shift);
bool typeOptions = descriptor.type == UExpressionType.Options;
if (typeOptions) {
if (descriptor.type != UExpressionType.Curve) {
UpdatePhonemeExp(pointer, point, shiftHeld);
} else {
UpdateCurveExp(pointer, point, ctrlShiftHeld, shiftHeld);
}
bool typeOptions = descriptor.type == UExpressionType.Options;
double viewMax = descriptor.max + (typeOptions ? 1 : 0);
double displayValue;
if (shiftHeld) {
Expand Down

0 comments on commit 4b49dd6

Please sign in to comment.