Skip to content
Snippets Groups Projects
Commit b82fb0b6 authored by Eric Oulashin's avatar Eric Oulashin
Browse files

DDMsgReader: Screen refresh fix for selecting messages when automatically...

DDMsgReader: Screen refresh fix for selecting messages when automatically moving to the next message at the menu's last row on the screen
parent 5ff13620
Branches
Tags
1 merge request!481DDMsgReader: Screen refresh fix for selecting messages when automatically moving to the next message at the menu's last row on the screen
Pipeline #7345 passed
...@@ -4343,8 +4343,6 @@ function DigDistMsgReader_ListMessages_Lightbar(pAllowChgSubBoard) ...@@ -4343,8 +4343,6 @@ function DigDistMsgReader_ListMessages_Lightbar(pAllowChgSubBoard)
else if (lastUserInputUpper == " ") else if (lastUserInputUpper == " ")
{ {
this.ToggleSelectedMessage(this.subBoardCode, this.lightbarListSelectedMsgIdx); this.ToggleSelectedMessage(this.subBoardCode, this.lightbarListSelectedMsgIdx);
// TODO: Option to go to the next message after toggling
// New
var topItemIdxBackup = msgListMenu.topItemIdx; var topItemIdxBackup = msgListMenu.topItemIdx;
if (this.userSettings.selectInMsgListMovesToNext && msgListMenu.selectedItemIdx < msgListMenu.NumItems()) if (this.userSettings.selectInMsgListMovesToNext && msgListMenu.selectedItemIdx < msgListMenu.NumItems())
{ {
...@@ -4361,10 +4359,6 @@ function DigDistMsgReader_ListMessages_Lightbar(pAllowChgSubBoard) ...@@ -4361,10 +4359,6 @@ function DigDistMsgReader_ListMessages_Lightbar(pAllowChgSubBoard)
// check character column in the next iteration // check character column in the next iteration
if (msgListMenu.topItemIdx == topItemIdxBackup) if (msgListMenu.topItemIdx == topItemIdxBackup)
msgListMenu.nextDrawOnlyItemSubstr = { start: this.MSGNUM_LEN+1, end: this.MSGNUM_LEN+2 }; msgListMenu.nextDrawOnlyItemSubstr = { start: this.MSGNUM_LEN+1, end: this.MSGNUM_LEN+2 };
// End New
// Have the menu draw only the check character column in the
// next iteration
msgListMenu.nextDrawOnlyItemSubstr = { start: this.MSGNUM_LEN+1, end: this.MSGNUM_LEN+2 };
} }
// Ctrl-A: Select/de-select all messages // Ctrl-A: Select/de-select all messages
else if (lastUserInputUpper == CTRL_A) else if (lastUserInputUpper == CTRL_A)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment