make alt + up/down work on all screens#624
Conversation
maks
left a comment
There was a problem hiding this comment.
@woeps thanks for working on this!
I've left a few minor comments, but in general your code style and approach is fine, but I would suggest holding off doing any more work on this until we've had a chance to agree to the details of the functionality we want implemented in the related issue.
| @@ -1 +1 @@ | |||
| #define BUILD_COUNT "003" | |||
| #define BUILD_COUNT "001" | |||
There was a problem hiding this comment.
there is no need to change this as this is just a placeholder value that is replaced in GitHub CI (Actions)
| #include "Foundation/Types/Types.h" | ||
| #define PHRASE_COUNT 0x80 | ||
| #define NO_MORE_PHRASE 0x81 | ||
| #define PHRASE_ROW_COUNT 16 |
| #include "Song.h" | ||
|
|
||
| #define PROJECT_NUMBER "2.1-BETA1" | ||
| #define PROJECT_NUMBER "2.1-JumpSection" |
There was a problem hiding this comment.
this is fine to change in your local test builds but please dont commit this into the PR branch
There was a problem hiding this comment.
Should I remove the commit changing this completely from the commit-history in the PR branch? Or is reverting it sufficient? (e.g. if PRs are being squashed anyways)
There was a problem hiding this comment.
just reverting or a new commit putting the old line back is fine since yes we do squash merge PRs so the commits in a PR branch arent kept anyways
This reverts commit 085d8e8. Project number & build count are being set in GitHub Actions.
|
I encountered a strange rendering, when the cursor is in the Phrase View and on one of both params columns. After jumpToNextSection the cursor is rendered twice on screen (previous position and result of the jump) until the next cursor movement. In this part of picoTracker/sources/Application/Views/PhraseView.cpp Lines 392 to 408 in e937e70 Finally picoTracker/sources/Application/Views/PhraseView.cpp Lines 454 to 456 in e937e70 |
Hmm @woeps sorry dont have time to look into this in detail just now but this sounds vaguely like what I fixed in #595 for the Table screen |
|
I'm not expecting anybody to solve my issues. I just hoped to get a hint if something looks familiar. Thank you @maks . |
… col This fixes the cursor being rendered twice after jumpToNextSection in one of the param columns in the PhraseView.
Fix #562.
Imlement
jumpToNextSectionin all sections.Remarks
I'm not sure how to optimize the (somehow repetetive) code to reduce binary size. Using generics could at least reduce line of code in source code, but I'm not sure about the compiled binary. Any suggestions?
Since this is my very first attempt to modify the picoTracker code base, I'm thankfull for any advice.
Current State