summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-12-09 18:06:11 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-12-09 18:06:11 +0100
commitd3e32698b410b2f316c88494b1f1883ff64e04b3 (patch)
treea633ed50e698f047eed6ac39b147aa6a2d19ff66
parent9a26ffa233f3776c646271dad372ec1e5a0f0648 (diff)
parent2005b5c44a2354a1dae31820bf18c2e232fcfa88 (diff)
Merge pull request #69753 from lpares12/feat_meta_cursor
RichTextLabel: decouple meta cursor from underline
-rw-r--r--scene/gui/rich_text_label.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/scene/gui/rich_text_label.cpp b/scene/gui/rich_text_label.cpp
index 60d107cce6..f26e05518e 100644
--- a/scene/gui/rich_text_label.cpp
+++ b/scene/gui/rich_text_label.cpp
@@ -1854,10 +1854,6 @@ void RichTextLabel::_notification(int p_what) {
}
Control::CursorShape RichTextLabel::get_cursor_shape(const Point2 &p_pos) const {
- if (!underline_meta) {
- return get_default_cursor_shape();
- }
-
if (selection.click_item) {
return CURSOR_IBEAM;
}