mirror of
https://github.com/lightsoutgames/godot-accessibility.git
synced 2024-11-22 03:45:56 +00:00
More exclusions for automatic focussability.
This commit is contained in:
parent
140063b1a6
commit
46149791fd
|
@ -166,7 +166,7 @@ func _init(node):
|
||||||
return
|
return
|
||||||
node.add_to_group("accessible")
|
node.add_to_group("accessible")
|
||||||
self.node = node
|
self.node = node
|
||||||
if not node is Container and not node is Panel and not node is Separator:
|
if not node is Container and not node is Panel and not node is Separator and not node is ScrollBar and not node is Popup:
|
||||||
node.set_focus_mode(Control.FOCUS_ALL)
|
node.set_focus_mode(Control.FOCUS_ALL)
|
||||||
node.connect("focus_entered", self, "focused")
|
node.connect("focus_entered", self, "focused")
|
||||||
node.connect("mouse_entered", self, "focused")
|
node.connect("mouse_entered", self, "focused")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user