Skip to content

Commit

Permalink
Minor navigation fix for pattern editor
Browse files Browse the repository at this point in the history
  • Loading branch information
Kagamma committed Apr 1, 2024
1 parent 32576a7 commit 178f138
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/edpattern.pas
Original file line number Diff line number Diff line change
Expand Up @@ -732,13 +732,14 @@ procedure LoopEditPattern;
Inc(CurChannel);
RenderInstrument;
DisableMark;
Screen.SetCursorPosition(PATTERN_SCREEN_START_X + (CurChannel * PATTERN_CHANNEL_WIDE) + (CurCellPart * 5), PATTERN_SCREEN_START_Y + CurCell - Anchor);
end;
end else
begin
CurCellPart := 1;
DisableMark;
Screen.SetCursorPosition(PATTERN_SCREEN_START_X + (CurChannel * PATTERN_CHANNEL_WIDE) + (CurCellPart * 5), PATTERN_SCREEN_START_Y + CurCell - Anchor);
end;
Screen.SetCursorPosition(PATTERN_SCREEN_START_X + (CurChannel * PATTERN_CHANNEL_WIDE) + (CurCellPart * 5), PATTERN_SCREEN_START_Y + CurCell - Anchor);
end;
SCAN_DOWN:
begin
Expand Down

0 comments on commit 178f138

Please sign in to comment.