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