Skip to content

Commit

Permalink
Incorrect method of determining curves has been corrected.
Browse files Browse the repository at this point in the history
  • Loading branch information
rokujyushi committed Nov 11, 2024
1 parent 2f9c2e1 commit eda2008
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 eda2008

Please sign in to comment.