You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Windows10,Vulkan,Intel i7-9700K ,NVIDIA GeForce GTX 1660 SUPER
Issue description
I customized a class that inherits from Area2D.
Then i use @ICON("res://assets/svgs/node.svg") to set the icon,but the icon displays abnormally on the inspector page.
my code:
@icon("res://assets/svgs/node.svg")
class_name Door
extends Area2D
@export var door_id : StringName
@export var target : PackedScene
inspector display:
Steps to reproduce
user code:
@icon("res://xxxx/xxx.svg")
class_name CustomClass
extends Area2D
@export var str : StringName
Godot version
4.0.stable.official [92bee43]
System information
Windows10,Vulkan,Intel i7-9700K ,NVIDIA GeForce GTX 1660 SUPER
Issue description
I customized a class that inherits from Area2D.
Then i use @ICON("res://assets/svgs/node.svg") to set the icon,but the icon displays abnormally on the inspector page.
my code:
inspector display:
Steps to reproduce
user code:
Minimal reproduction project
demo:
Uploading BugDemo.7z…
The text was updated successfully, but these errors were encountered: