mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 11:14:00 +00:00
Merge branch 'master' of ssh://vocaleasel.git.sourceforge.net/gitroot/vocaleasel/vocaleasel
This commit is contained in:
commit
d073aed5fa
|
@ -901,7 +901,7 @@ const float kSemiFloor = -1.0f*kLineH;
|
||||||
NSResponder * hasResponder = [win firstResponder];
|
NSResponder * hasResponder = [win firstResponder];
|
||||||
if ([self editTarget])
|
if ([self editTarget])
|
||||||
if (hasResponder != [win fieldEditor:NO forObject:nil]
|
if (hasResponder != [win fieldEditor:NO forObject:nil]
|
||||||
|| [hasResponder delegate] != fFieldEditor
|
|| [(id)hasResponder delegate] != fFieldEditor
|
||||||
)
|
)
|
||||||
[win makeFirstResponder:fFieldEditor];
|
[win makeFirstResponder:fFieldEditor];
|
||||||
}
|
}
|
||||||
|
|
|
@ -385,6 +385,7 @@
|
||||||
tupletStartX = pos.x-kNoteW*0.5f;
|
tupletStartX = pos.x-kNoteW*0.5f;
|
||||||
tuplet = newTuplet;
|
tuplet = newTuplet;
|
||||||
tupletDur = 0;
|
tupletDur = 0;
|
||||||
|
inTuplet = 0;
|
||||||
}
|
}
|
||||||
++inTuplet;
|
++inTuplet;
|
||||||
tupletDur += note->fDuration / VLNote::TupletDenom(tuplet);
|
tupletDur += note->fDuration / VLNote::TupletDenom(tuplet);
|
||||||
|
@ -397,7 +398,7 @@
|
||||||
[self drawTuplet:tuplet bracketFrom:tupletStartX to:tupletEndX atY:tupletY];
|
[self drawTuplet:tuplet bracketFrom:tupletStartX to:tupletEndX atY:tupletY];
|
||||||
inTuplet = 0;
|
inTuplet = 0;
|
||||||
}
|
}
|
||||||
} else if (++inTuplet) {
|
} else if (inTuplet) {
|
||||||
[self drawTuplet:tuplet bracketFrom:tupletStartX to:tupletEndX atY:tupletY];
|
[self drawTuplet:tuplet bracketFrom:tupletStartX to:tupletEndX atY:tupletY];
|
||||||
inTuplet = 0;
|
inTuplet = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user