aboutsummaryrefslogtreecommitdiff
path: root/src/ui/host
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-11-10 15:52:15 +0800
committercrupest <crupest@outlook.com>2020-11-10 15:52:15 +0800
commit2d4a5df468f8bc13fbb657e010c393365ef79bda (patch)
tree4ee7865663348ede1a961209c980fd614d727859 /src/ui/host
parent02ed6999e9db0c20c3f55ab9c695f939aacb110c (diff)
downloadcru-2d4a5df468f8bc13fbb657e010c393365ef79bda.tar.gz
cru-2d4a5df468f8bc13fbb657e010c393365ef79bda.tar.bz2
cru-2d4a5df468f8bc13fbb657e010c393365ef79bda.zip
...
Diffstat (limited to 'src/ui/host')
-rw-r--r--src/ui/host/LayoutPaintCycler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/host/LayoutPaintCycler.cpp b/src/ui/host/LayoutPaintCycler.cpp
index 9b319da4..fd581e00 100644
--- a/src/ui/host/LayoutPaintCycler.cpp
+++ b/src/ui/host/LayoutPaintCycler.cpp
@@ -29,7 +29,7 @@ void LayoutPaintCycler::OnCycle() {
host_->Repaint();
}
}
- layout_dirty_ = true;
- paint_dirty_ = true;
+ layout_dirty_ = false;
+ paint_dirty_ = false;
}
} // namespace cru::ui::host