If nodes have a non-empty ext property, don't guess a label.

This commit is contained in:
Nolan Darilek 2020-11-09 10:46:16 -06:00
parent fee1bc2b91
commit 07c21921b7

View File

@ -31,6 +31,8 @@ func click(item := node, button_index = BUTTON_LEFT):
func _guess_label():
if node is Label:
return
if node.has_property("text") and node.text:
return
var tokens = PoolStringArray([])
var to_check = node
while to_check: