feat: support for new ya.emit API
This commit is contained in:
@@ -40,7 +40,12 @@ local function entry(st, job)
|
|||||||
st.parent, st.current, st.preview = nil, nil, nil
|
st.parent, st.current, st.preview = nil, nil, nil
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- TODO: remove this in the future
|
||||||
|
if ya.emit then
|
||||||
|
ya.emit("app:resize", {})
|
||||||
|
else
|
||||||
ya.app_emit("resize", {})
|
ya.app_emit("resize", {})
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
return { entry = entry }
|
return { entry = entry }
|
||||||
|
|||||||
Reference in New Issue
Block a user