Save pre-batched-redraw snapshot

This commit is contained in:
Codex
2026-04-07 16:23:40 +08:00
parent 7f8431a18c
commit b07a4ec370
8 changed files with 142 additions and 54 deletions
+2
View File
@@ -99,6 +99,7 @@ void TextBox::draw()
bool TextBox::handleEvent(const ExMessage& msg)
{
if (!show) return false;
resetEventVisualChanged();
bool hover = false;
bool oldClick = click;
@@ -165,6 +166,7 @@ bool TextBox::handleEvent(const ExMessage& msg)
if (dirty)
requestRepaint(parent);
markEventVisualChanged(dirty);
if (click)
click = false;