From 3cdf5d5c8106f786c023236db675bda2a8c6c3f2 Mon Sep 17 00:00:00 2001 From: esheyw Date: Sat, 9 Mar 2024 16:03:26 -0800 Subject: [PATCH] use bringToTop instead of render(true) --- scripts/keybinds.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/keybinds.mjs b/scripts/keybinds.mjs index 49e9253..ba4ea24 100644 --- a/scripts/keybinds.mjs +++ b/scripts/keybinds.mjs @@ -6,7 +6,7 @@ function handleWindow(id) { const existing = Object.values(ui.windows).find((w) => w.id === id); if (existing) { if (ui.activeWindow !== existing && setting("focus-before-close")) { - existing.render(true); + existing.bringToTop(); } else { existing.close(); }