Исправление. Сообщение об ошибке в редакторе (вызвано @tool)

This commit is contained in:
sasha80
2025-04-23 08:20:50 +03:00
parent deb28016c1
commit 97c47c6302
3 changed files with 4 additions and 1 deletions

View File

@@ -100,6 +100,8 @@ const image_load_proc_names = {
func _ready():
if Engine.is_editor_hint():
return
$canvas.connect('mouse_entered', func(): _rollover = true)
$canvas.connect('mouse_exited', func(): _rollover = false)
_on_resize()