mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 08:47:37 +02:00
I'm tired
This commit is contained in:
@ -343,7 +343,7 @@ namespace RhythmHeavenMania.Editor
|
||||
else
|
||||
{
|
||||
eventObj.resizable = true;
|
||||
if (gameAction.defaultLength != entity.length && dragNDrop == false)
|
||||
if (entity != null && gameAction.defaultLength != entity.length && dragNDrop == false)
|
||||
{
|
||||
g.GetComponent<RectTransform>().sizeDelta = new Vector2(entity.length, LayerHeight());
|
||||
}
|
||||
|
Reference in New Issue
Block a user