Fixed Growth of PropertyFields

This commit is contained in:
Chromium 2025-04-28 21:36:51 +01:00
parent b4a66d7e26
commit e49867f52e

View File

@ -249,7 +249,7 @@ namespace ImageProcessingGraph.Editor.Unity_Image_Processing.Scripts.Editor.Wind
{ {
IPTPort iptPort = port as IPTPort; IPTPort iptPort = port as IPTPort;
if(iptPort.ExposedPropertyContainer != null) if(iptPort.ExposedPropertyContainer != null)
iptPort.ExposedPropertyContainer.visible = value; iptPort.ExposedPropertyContainer.style.display = value ? DisplayStyle.Flex : DisplayStyle.None;
} }
private VisualElement CreatePropertyFieldForType(Type type, object value) private VisualElement CreatePropertyFieldForType(Type type, object value)