You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26:15 +00:00
-Conversion of most properties to a simpler syntax, easier to use by script
-Modified help to display properties GDScript can still not make use of them, though.
This commit is contained in:
@@ -341,14 +341,14 @@ bool CustomPropertyEditor::edit(Object* p_owner,const String& p_name,Variant::Ty
|
||||
slider->set_min(min);
|
||||
slider->set_max(max);
|
||||
slider->set_step(step);
|
||||
slider->set_val(v);
|
||||
slider->set_value(v);
|
||||
slider->show();
|
||||
set_size(Size2(110,30)*EDSCALE);
|
||||
} else {
|
||||
spinbox->set_min(min);
|
||||
spinbox->set_max(max);
|
||||
spinbox->set_step(step);
|
||||
spinbox->set_val(v);
|
||||
spinbox->set_value(v);
|
||||
spinbox->show();
|
||||
set_size(Size2(70,35)*EDSCALE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user