Added core.set_active_view(); removed focusable boolean from View

This commit is contained in:
rxi
2020-05-19 14:55:46 +01:00
parent 8ec717f240
commit bc4bf3d384
7 changed files with 27 additions and 21 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ for _, dir in ipairs { "left", "right", "up", "down" } do
end
local node = core.root_view.root_node:get_child_overlapping_point(x, y)
if not node:get_locked_size() then
core.active_view = node.active_view
core.set_active_view(node.active_view)
end
end
end