瀏覽代碼

Merge pull request #69753 from lpares12/feat_meta_cursor

RichTextLabel: decouple meta cursor from underline
Rémi Verschelde 2 年之前
父節點
當前提交
d3e32698b4
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      scene/gui/rich_text_label.cpp

+ 0 - 4
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 {
 Control::CursorShape RichTextLabel::get_cursor_shape(const Point2 &p_pos) const {
-	if (!underline_meta) {
-		return get_default_cursor_shape();
-	}
-
 	if (selection.click_item) {
 	if (selection.click_item) {
 		return CURSOR_IBEAM;
 		return CURSOR_IBEAM;
 	}
 	}