Changed default to true.
This commit is contained in:
@@ -30,7 +30,6 @@ namespace FlaxEditor.CustomEditors.Editors
|
||||
}
|
||||
|
||||
_element = layout.TextBox(isMultiLine);
|
||||
_element.TextBox.EndEditOnClick = true;
|
||||
_element.TextBox.EditEnd += () => SetValue(_element.Text);
|
||||
}
|
||||
|
||||
|
||||
@@ -371,7 +371,6 @@ namespace FlaxEditor.GUI.Input
|
||||
Parent = this,
|
||||
Location = new Float2(split, 0),
|
||||
Size = new Float2(Height, TextBoxSize),
|
||||
EndEditOnClick = true,
|
||||
};
|
||||
_textBox.EditEnd += OnTextBoxEditEnd;
|
||||
}
|
||||
|
||||
@@ -125,7 +125,6 @@ namespace FlaxEditor.GUI.Input
|
||||
_min = min;
|
||||
_max = max;
|
||||
_slideSpeed = sliderSpeed;
|
||||
EndEditOnClick = true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -143,7 +143,7 @@ namespace FlaxEngine.GUI
|
||||
/// Gets or sets a value indicating whether the text box can end edit via left click outside of the control
|
||||
/// </summary>
|
||||
[HideInEditor]
|
||||
public bool EndEditOnClick { get; set; } = false;
|
||||
public bool EndEditOnClick { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this is a multiline text box control.
|
||||
|
||||
Reference in New Issue
Block a user