Quellcode durchsuchen

Fix the rotation not updating in the inspector with Controls

Johan Manuel vor 9 Jahren
Ursprung
Commit
fc4ace3120
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      scene/gui/control.cpp

+ 1 - 0
scene/gui/control.cpp

@@ -2262,6 +2262,7 @@ void Control::set_rotation(float p_radians) {
 	data.rotation=p_radians;
 	update();
 	_notify_transform();
+	_change_notify("rect/rotation");
 }
 
 float Control::get_rotation() const{