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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/controls/text_control.cpp b/src/ui/controls/text_control.cpp
index 08857e09..6ccb8a02 100644
--- a/src/ui/controls/text_control.cpp
+++ b/src/ui/controls/text_control.cpp
@@ -232,14 +232,14 @@ namespace cru::ui::controls
{
if (!is_selectable_)
{
- SetCursor(cursors::arrow);
+ SetCursor(nullptr);
return;
}
const auto window = GetWindow();
if (window == nullptr)
{
- SetCursor(cursors::arrow);
+ SetCursor(nullptr);
return;
}
@@ -253,6 +253,6 @@ namespace cru::ui::controls
if (GetRect(RectRange::Padding).IsPointInside(p))
SetCursor(cursors::i_beam);
else
- SetCursor(cursors::arrow);
+ SetCursor(nullptr);
}
}