From ef5d4013d3143ba1264474a4e3b1fe5f60c50c80 Mon Sep 17 00:00:00 2001 From: Nils Hausfeld Date: Fri, 21 Jun 2024 20:45:22 +0200 Subject: [PATCH] - Increased min description panel height a tiny bit to make 4 input/output elements fit without causing jittering / flickering --- Source/Editor/Surface/ContextMenu/VisjectCM.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Editor/Surface/ContextMenu/VisjectCM.cs b/Source/Editor/Surface/ContextMenu/VisjectCM.cs index 2d22b2e3f..691bef2dd 100644 --- a/Source/Editor/Surface/ContextMenu/VisjectCM.cs +++ b/Source/Editor/Surface/ContextMenu/VisjectCM.cs @@ -919,7 +919,7 @@ namespace FlaxEditor.Surface.ContextMenu // Forcing the description panel to at least have a minimum height to not make the window size change too much in order to reduce jittering // TODO: Remove the Mathf.Max and just set the height to panelHeight once the window jitter issue is fixed - Nils - _descriptionPanel.Height = Mathf.Max(135f, panelHeight); + _descriptionPanel.Height = Mathf.Max(140f, panelHeight); Height = DefaultHeight + _descriptionPanel.Height; UpdateWindowSize(); _descriptionPanelVisible = true;