mirror of
https://review.haiku-os.org/haiku
synced 2025-02-02 03:36:14 +01:00
Debugger: Fix edit mode redraw issue.
MemoryView: - During edit mode, if navigating with the left or right arrow only resulted adjusting the focus nybble and not transitioning to another block, redraw wouldn't be triggered, leading to it appearing as if the keypress had no effect.
This commit is contained in:
parent
9457b76963
commit
5ea6993dc2
@ -358,6 +358,8 @@ MemoryView::KeyDown(const char* bytes, int32 numBytes)
|
||||
if (!fEditLowNybble)
|
||||
newAddress--;
|
||||
fEditLowNybble = !fEditLowNybble;
|
||||
if (newAddress == fTargetAddress)
|
||||
Invalidate();
|
||||
} else
|
||||
newAddress -= blockSize;
|
||||
break;
|
||||
@ -368,6 +370,8 @@ MemoryView::KeyDown(const char* bytes, int32 numBytes)
|
||||
if (fEditLowNybble)
|
||||
newAddress++;
|
||||
fEditLowNybble = !fEditLowNybble;
|
||||
if (newAddress == fTargetAddress)
|
||||
Invalidate();
|
||||
} else
|
||||
newAddress += blockSize;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user