Added async-websocket gem, made game button icon greyed out if not installed

This commit is contained in:
2021-11-22 07:24:03 -06:00
parent f483086c90
commit dfa1e413ea
3 changed files with 38 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ class W3DHub
flow(width: 1.0, height: 48) do
stack(width: 0.3)
image "#{GAME_ROOT_PATH}/media/icons/#{game.id}.png", height: 48
image "#{GAME_ROOT_PATH}/media/icons/#{game.id}.png", height: 48, color: window.application_manager.installed?(game.id, game.channels.first.id) ? 0xff_ffffff : 0xee_444444
end
inscription game.name, width: 1.0, text_align: :center
end