mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 11:14:00 +00:00
Fix cursor display
This commit is contained in:
parent
6e44bc5264
commit
d58f204907
|
@ -885,8 +885,8 @@ const float kSemiFloor = -1.0f*kLineH;
|
|||
fClickMode = ' ';
|
||||
else
|
||||
fClickMode = 'k';
|
||||
break;
|
||||
[self setNeedsDisplay:YES];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@
|
|||
|
||||
cursorX = [self noteXInMeasure:measure at:at];
|
||||
if (visual == kCursorExtend) {
|
||||
cursorY = [self noteYInGrid:vertPos];
|
||||
cursorY = [self noteYInMeasure:measure withGrid:vertPos];
|
||||
cursorElt = kMusicExtendCursor;
|
||||
} else {
|
||||
switch (mode) {
|
||||
|
@ -92,7 +92,7 @@
|
|||
cursorElt = kMusicRestCursor;
|
||||
break;
|
||||
case 'k':
|
||||
cursorY = [self noteYInGrid:vertPos];
|
||||
cursorY = [self noteYInMeasure:measure withGrid:vertPos] - kNoteY;
|
||||
cursorElt = kMusicKillCursor;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user