diff --git a/src/Internal/Editor/UnityEditorUtility.cs b/src/Internal/Editor/UnityEditorUtility.cs index 92fd1ee..3592a44 100644 --- a/src/Internal/Editor/UnityEditorUtility.cs +++ b/src/Internal/Editor/UnityEditorUtility.cs @@ -175,9 +175,13 @@ namespace DCFApixels.DragonECS.Unity.Editors Color componentColor = color32; Texture2D texture2D = CreateTexture(2, 2, componentColor); result.hover.background = texture2D; + result.hover.scaledBackgrounds = Array.Empty(); result.focused.background = texture2D; + result.focused.scaledBackgrounds = Array.Empty(); result.active.background = texture2D; + result.active.scaledBackgrounds = Array.Empty(); result.normal.background = texture2D; + result.normal.scaledBackgrounds = Array.Empty(); return result; } private static Texture2D CreateTexture(int width, int height, Color color)