mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 11:17:39 +02:00
Small Fixes (#609)
* additive angle in rhythm rally * remove old keyboard controller compat * fix control style dropdowns * using mouse on title screen selects keyboard instead default to keyboard for invalid controllers * temporarily ditch discord RPC we need a new API key lol * remove this discord call too * certain editor shortcuts now exit fullscreen fix color hex input not locking editor shortcuts * increase max queued frames turns out this may not be an issue for audio rhythm games
This commit is contained in:
@ -20,6 +20,7 @@ namespace HeavenStudio.Editor
|
||||
public RectTransform ColorTable;
|
||||
public bool colorTableActive;
|
||||
public ColorPreview colorPreview;
|
||||
public TMP_InputField hex;
|
||||
|
||||
private Color _defaultColor;
|
||||
|
||||
@ -27,6 +28,17 @@ namespace HeavenStudio.Editor
|
||||
{
|
||||
InitProperties(propertyName, caption);
|
||||
|
||||
hex.onSelect.AddListener(
|
||||
_ =>
|
||||
Editor.instance.editingInputField = true
|
||||
);
|
||||
hex.onEndEdit.AddListener(
|
||||
_ =>
|
||||
{;
|
||||
Editor.instance.editingInputField = false;
|
||||
}
|
||||
);
|
||||
|
||||
colorPreview.colorPicker.onColorChanged += _ =>
|
||||
{
|
||||
parameterManager.entity[propertyName] = colorPreview.colorPicker.color;
|
||||
@ -78,6 +90,7 @@ namespace HeavenStudio.Editor
|
||||
{
|
||||
ColorTable.gameObject.SetActive(false);
|
||||
colorTableActive = false;
|
||||
Editor.instance.editingInputField = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user