aboutsummaryrefslogtreecommitdiff
path: root/src/ui/controls/text_control.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/controls/text_control.cpp')
-rw-r--r--src/ui/controls/text_control.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/controls/text_control.cpp b/src/ui/controls/text_control.cpp
index f7f88d4e..d7d6b810 100644
--- a/src/ui/controls/text_control.cpp
+++ b/src/ui/controls/text_control.cpp
@@ -19,6 +19,8 @@ namespace cru::ui::controls
brush_ = init_brush;
selection_brush_ = UiManager::GetInstance()->GetPredefineResources()->text_control_selection_brush;
+
+ SetClipContent(true);
}