mirror of
https://github.com/lightsoutgames/godot-accessibility.git
synced 2024-11-24 21:05:57 +00:00
If nodes have a non-empty ext property, don't guess a label.
This commit is contained in:
parent
fee1bc2b91
commit
07c21921b7
|
@ -31,6 +31,8 @@ func click(item := node, button_index = BUTTON_LEFT):
|
||||||
func _guess_label():
|
func _guess_label():
|
||||||
if node is Label:
|
if node is Label:
|
||||||
return
|
return
|
||||||
|
if node.has_property("text") and node.text:
|
||||||
|
return
|
||||||
var tokens = PoolStringArray([])
|
var tokens = PoolStringArray([])
|
||||||
var to_check = node
|
var to_check = node
|
||||||
while to_check:
|
while to_check:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user