Websocket based server list updater now works, gui needs a bit of work to not flash when refreshing list

This commit is contained in:
2021-12-27 20:48:30 -06:00
parent 92f6a76381
commit 0f943252c5
4 changed files with 60 additions and 24 deletions

View File

@@ -165,8 +165,6 @@ class W3DHub
end
def page(klass, options = {})
# @menu_bar.clear
# @status_bar.clear
body.clear
@page.blur if @page
@@ -179,6 +177,12 @@ class W3DHub
@page.focus
end
def update_server_browser(server)
return unless @page.is_a?(Pages::ServerBrowser)
@page.refresh_server_list(server)
end
def show_application_taskbar
@application_taskbar_container.show
end