aboutsummaryrefslogtreecommitdiff
path: root/src/ui/controls/list_item.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/controls/list_item.cpp')
-rw-r--r--src/ui/controls/list_item.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/controls/list_item.cpp b/src/ui/controls/list_item.cpp
index bdd44273..bf61010d 100644
--- a/src/ui/controls/list_item.cpp
+++ b/src/ui/controls/list_item.cpp
@@ -25,7 +25,7 @@ namespace cru::ui::controls
void ListItem::SetState(const State state)
{
state_ = state;
- Repaint();
+ InvalidateDraw();
}
void ListItem::OnDrawForeground(ID2D1DeviceContext* device_context)