mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-08 22:22:05 +00:00
Update Screen.cpp
This commit is contained in:
parent
2a4582da20
commit
38b118fb8b
@ -3510,7 +3510,7 @@ void Screen::setFrames(FrameFocus focus)
|
|||||||
const FramesetInfo &oldFsi = this->framesetInfo;
|
const FramesetInfo &oldFsi = this->framesetInfo;
|
||||||
|
|
||||||
// ✅ Fix: Account for new message insertion shifting frame positions
|
// ✅ Fix: Account for new message insertion shifting frame positions
|
||||||
if (willInsertTextMessage && fsi.positions.textMessage <= originalPosition) {
|
if (willInsertTextMessage && oldFsi.positions.textMessage == 0 && fsi.positions.textMessage <= originalPosition) {
|
||||||
originalPosition++;
|
originalPosition++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user