mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-10 11:45:09 +00:00
fix textbox listeners, check flags for Ctrl-A (#406)
This commit is contained in:
parent
6b7e5b67d7
commit
8b63cce876
2 changed files with 12 additions and 4 deletions
|
@ -32,6 +32,11 @@ namespace HeavenStudio.Editor
|
||||||
_ =>
|
_ =>
|
||||||
{;
|
{;
|
||||||
parameterManager.entity[propertyName] = inputFieldString.text;
|
parameterManager.entity[propertyName] = inputFieldString.text;
|
||||||
|
}
|
||||||
|
);
|
||||||
|
inputFieldString.onEndEdit.AddListener(
|
||||||
|
_ =>
|
||||||
|
{;
|
||||||
Editor.instance.editingInputField = false;
|
Editor.instance.editingInputField = false;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
|
@ -26,10 +26,13 @@ namespace HeavenStudio.Editor
|
||||||
for (int i = 0; i < buggedSelections.Count; i++)
|
for (int i = 0; i < buggedSelections.Count; i++)
|
||||||
Deselect(buggedSelections[i]);
|
Deselect(buggedSelections[i]);
|
||||||
}
|
}
|
||||||
|
if (Editor.instance.isShortcutsEnabled)
|
||||||
|
{
|
||||||
if (Input.GetKey(KeyCode.LeftControl))
|
if (Input.GetKey(KeyCode.LeftControl))
|
||||||
if (Input.GetKeyDown(KeyCode.A))
|
if (Input.GetKeyDown(KeyCode.A))
|
||||||
SelectAll();
|
SelectAll();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void ClickSelect(TimelineEventObj eventToAdd)
|
public void ClickSelect(TimelineEventObj eventToAdd)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue