Update Screen.cpp

This commit is contained in:
HarukiToreda 2025-04-08 01:15:08 -04:00
parent 2a4582da20
commit 38b118fb8b

View File

@ -3510,7 +3510,7 @@ void Screen::setFrames(FrameFocus focus)
const FramesetInfo &oldFsi = this->framesetInfo;
// ✅ 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++;
}