mirror of
https://github.com/lightsoutgames/godot-accessibility.git
synced 2024-11-22 03:45:56 +00:00
Special-case disallowing focus on bunches of nodes.
This commit is contained in:
parent
84857e1222
commit
8ef356b9bb
|
@ -454,6 +454,18 @@ func is_in_bar():
|
|||
return false
|
||||
|
||||
func is_focusable(node):
|
||||
if node.get_class() == "SceneTreeEditor":
|
||||
return false
|
||||
if node.get_class() == "MultiMeshEditor":
|
||||
return false
|
||||
if node.get_class() == "MeshInstanceEditor":
|
||||
return false
|
||||
if node.get_class() == "SpriteEditor":
|
||||
return false
|
||||
if node.get_class() == "Skeleton2DEditor":
|
||||
return false
|
||||
if node.get_class() == "CollisionShape2DEditor":
|
||||
return false
|
||||
if node is TabContainer:
|
||||
return true
|
||||
if node.get_class() == "EditorInspectorSection":
|
||||
|
|
Loading…
Reference in New Issue
Block a user