فهرست منبع

Merge pull request #102518 from Giganzo/rectN-slider

Hide EditorSpinSlider slider for Rect2i
Thaddeus Crews 8 ماه پیش
والد
کامیت
b934413657
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      editor/editor_properties.cpp

+ 1 - 0
editor/editor_properties.cpp

@@ -1825,6 +1825,7 @@ void EditorPropertyRect2i::setup(int p_min, int p_max, const String &p_suffix) {
 		spin[i]->set_allow_greater(true);
 		spin[i]->set_allow_lesser(true);
 		spin[i]->set_suffix(p_suffix);
+		spin[i]->set_editing_integer(true);
 	}
 }