Refine snapshot invalidation and modal resize behavior

This commit is contained in:
Codex
2026-03-29 20:47:04 +08:00
parent 4a6e153da5
commit 7f8431a18c
8 changed files with 33 additions and 20 deletions
+1 -2
View File
@@ -56,8 +56,7 @@ void Label::draw()
//用于“隐藏提示框”时调用(还原并释放快照)
void Label::hide()
{
restBackground(); // 还原屏幕像素
discardBackground(); // 作废快照,防止错贴旧图
discardBackground(); // 还原并释放快照
dirty = false;
}
void Label::setTextdisap(bool key)