We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6cd0d9 commit f604600Copy full SHA for f604600
engine/Sandbox.Tools/ControlWidget/FloatControlWidget.cs
@@ -321,6 +321,14 @@ protected override void OnMouseReleased( MouseEvent e )
321
dragging = false;
322
PropertyFinishEdit();
323
}
324
+
325
+ if ( e.MiddleMouseButton && !ReadOnly )
326
+ {
327
+ SerializedProperty.SetValue( SerializedProperty.GetDefault() );
328
+ LineEdit.Text = ValueToString();
329
+ LineEdit.Blur();
330
+ Update();
331
+ }
332
333
334
protected virtual void OnDragValue( decimal add ) { /*Value = add;*/ }
0 commit comments