chore(ags): add todo for closer

This commit is contained in:
matt1432 2023-09-14 13:33:59 -04:00
parent 882627cc5e
commit 52b81a6301

View file

@ -1,6 +1,7 @@
const { Window, EventBox } = ags.Widget; const { Window, EventBox } = ags.Widget;
const { closeWindow } = ags.App; const { closeWindow } = ags.App;
// TODO: close on scroll event too?
export const closeAll = () => { export const closeAll = () => {
ags.App.windows.forEach(w => { ags.App.windows.forEach(w => {
if (w.name != 'bar' && if (w.name != 'bar' &&