mirror of
https://github.com/lightsoutgames/godot-accessibility.git
synced 2024-11-24 21:05:57 +00:00
Eliminate ext check for some nodes where we want to guess a label but which have this property (I.e. LineEdit/TextEdit.)
This commit is contained in:
parent
0d00db483d
commit
d6d9ff32e2
|
@ -31,7 +31,7 @@ func click(item := node, button_index = BUTTON_LEFT):
|
|||
func _guess_label():
|
||||
if node is Label:
|
||||
return
|
||||
if node.get("text"):
|
||||
if not node is LineEdit and not node is TextEdit and node.get("text"):
|
||||
return
|
||||
var tokens = PoolStringArray([])
|
||||
var to_check = node
|
||||
|
|
Loading…
Reference in New Issue
Block a user