mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-13 00:37:37 +02:00
Editor bug fixes (#261)
* Spaceball cleanup and small bug fix * Replace old hit sound in spaceball * Camera filters * added 9 new filters, including 3 types of sepia * oops * remark * normalization of fade out and fade in on filters are by 100 * GenerateFilterTypeEnum comments * Pure black and white filter * Zooming * Constant playback bar offset * Prepare box selector rewrite * Update icons, finalize * Bug fixes
This commit is contained in:
@ -26,6 +26,9 @@ namespace HeavenStudio.Editor
|
||||
for (int i = 0; i < buggedSelections.Count; i++)
|
||||
Deselect(buggedSelections[i]);
|
||||
}
|
||||
if (Input.GetKey(KeyCode.LeftControl))
|
||||
if (Input.GetKeyDown(KeyCode.A))
|
||||
SelectAll();
|
||||
}
|
||||
|
||||
public void ClickSelect(TimelineEventObj eventToAdd)
|
||||
@ -56,6 +59,14 @@ namespace HeavenStudio.Editor
|
||||
}
|
||||
}
|
||||
|
||||
public void SelectAll()
|
||||
{
|
||||
DeselectAll();
|
||||
var eventObjs = Timeline.instance.eventObjs;
|
||||
for (int i = 0; i < eventObjs.Count; i++)
|
||||
eventsSelected.Add(eventObjs[i]);
|
||||
}
|
||||
|
||||
public void DeselectAll()
|
||||
{
|
||||
eventsSelected.Clear();
|
||||
|
Reference in New Issue
Block a user