diff --git a/FlexLove.lua b/FlexLove.lua index 94a3604..01f573d 100644 --- a/FlexLove.lua +++ b/FlexLove.lua @@ -1181,7 +1181,7 @@ end --- Clear focus from any element --- Removes keyboard focus from the currently focused element function flexlove.clearFocus() - Context.clearFocus() + Context.setFocused(nil) end flexlove.Animation = Animation diff --git a/profiling/main.lua b/profiling/main.lua index 97d97fe..41406ce 100644 --- a/profiling/main.lua +++ b/profiling/main.lua @@ -197,7 +197,7 @@ local function buildMenu() justifyContent = "center", alignItems = "center", alignSelf = "center", - --mode = "retained", + z = 100, padding = { horizontal = 15, vertical = 15 }, onEvent = function(_, event) if event.type == "release" then