diff --git a/lib/bds/desktop/main_window.ex b/lib/bds/desktop/main_window.ex index 94b59db..65241c6 100644 --- a/lib/bds/desktop/main_window.ex +++ b/lib/bds/desktop/main_window.ex @@ -90,8 +90,8 @@ defmodule BDS.Desktop.MainWindow do end @impl true - def terminate(_reason, %{frame: frame, last_bounds: last_bounds}) do - if bounds = current_bounds(frame) || last_bounds do + def terminate(_reason, %{last_bounds: last_bounds}) do + if bounds = last_bounds do _ = persist_bounds(bounds) end diff --git a/lib/bds/desktop/shell_live/chat_editor_html/chat_editor.html.heex b/lib/bds/desktop/shell_live/chat_editor_html/chat_editor.html.heex index a97f0fa..e13c5ab 100644 --- a/lib/bds/desktop/shell_live/chat_editor_html/chat_editor.html.heex +++ b/lib/bds/desktop/shell_live/chat_editor_html/chat_editor.html.heex @@ -1,54 +1,56 @@