فهرست منبع

Fixed selection indent taking an additional line

Paulb23 5 سال پیش
والد
کامیت
0049f43fc8
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      scene/gui/text_edit.cpp

+ 1 - 0
scene/gui/text_edit.cpp

@@ -1946,6 +1946,7 @@ void TextEdit::indent_right() {
 
 	// Ignore if the cursor is not past the first column.
 	if (is_selection_active() && get_selection_to_column() == 0) {
+		selection_offset = 0;
 		end_line--;
 	}