From e6f9bce3fe789409f3de39712265b1fca2f23298 Mon Sep 17 00:00:00 2001 From: zqy Date: Fri, 10 May 2024 21:16:46 +0800 Subject: [PATCH] feat: fix #19 and update ui --- Editor/Scripts/Window/PlayableGraphMonitorWindow_GraphView.cs | 4 +++- Editor/Scripts/Window/PlayableGraphMonitorWindow_Toolbar.cs | 2 +- package.json | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Editor/Scripts/Window/PlayableGraphMonitorWindow_GraphView.cs b/Editor/Scripts/Window/PlayableGraphMonitorWindow_GraphView.cs index 6307bab..f5d5787 100644 --- a/Editor/Scripts/Window/PlayableGraphMonitorWindow_GraphView.cs +++ b/Editor/Scripts/Window/PlayableGraphMonitorWindow_GraphView.cs @@ -14,7 +14,9 @@ private void CreateGraphView(VisualElement container) { style = { - flexGrow = new StyleFloat(1) + flexGrow = new StyleFloat(1), + // Fix #19 + height = Length.Percent(100), } }; diff --git a/Editor/Scripts/Window/PlayableGraphMonitorWindow_Toolbar.cs b/Editor/Scripts/Window/PlayableGraphMonitorWindow_Toolbar.cs index 9b69f15..df7bc9c 100644 --- a/Editor/Scripts/Window/PlayableGraphMonitorWindow_Toolbar.cs +++ b/Editor/Scripts/Window/PlayableGraphMonitorWindow_Toolbar.cs @@ -63,7 +63,7 @@ public partial class PlayableGraphMonitorWindow private ToolbarMenu _selectRootNodeMenu; // Common data - private static Color NotableTextColor => Color.yellow; + private static Color NotableTextColor => Color.red; private static Color NormalTextColor => EditorGUIUtility.isProSkin ? Color.white : Color.black; diff --git a/package.json b/package.json index 7cfffa0..c97c095 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.greenbamboogames.playablegraphmonitor", - "version": "2.5.5", + "version": "2.5.6", "displayName": "PlayableGraph Monitor!", "description": "PlayableGraph monitor.", "unity": "2019.4",