Fix Rename Popup direction near screen edges

#317
This commit is contained in:
Wojtek Figat
2021-03-18 16:48:07 +01:00
parent ac511cbadc
commit 759dc98737
2 changed files with 24 additions and 19 deletions

View File

@@ -42,9 +42,6 @@ namespace FlaxEditor.GUI
/// <summary>
/// Gets or sets the initial value.
/// </summary>
/// <value>
/// The initial value.
/// </value>
public string InitialValue
{
get => _startValue;
@@ -54,9 +51,6 @@ namespace FlaxEditor.GUI
/// <summary>
/// Gets or sets the input field text.
/// </summary>
/// <value>
/// The text.
/// </value>
public string Text
{
get => _inputField.Text;
@@ -138,6 +132,9 @@ namespace FlaxEditor.GUI
Hide();
}
/// <inheritdoc />
protected override bool UseAutomaticDirectionFix => false;
/// <inheritdoc />
public override bool OnKeyDown(KeyboardKeys key)
{