mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2026-11-03 16:44:05 +00:00
Add a 1 pixel 'border' around online state indicator so it stands out against the user's avatar
This commit is contained in:
@@ -348,9 +348,13 @@ module W3DHubLauncher
|
|||||||
v_align: :bottom,
|
v_align: :bottom,
|
||||||
h_align: :right,
|
h_align: :right,
|
||||||
background_image: safe_get_image("#{ROOT_PATH}/media/ui/circle_small.png"),
|
background_image: safe_get_image("#{ROOT_PATH}/media/ui/circle_small.png"),
|
||||||
background_image_color: account.signed_in? ? 0xff_26a269 : 0xff_77767b,
|
background_image_color: 0xff_77767b,
|
||||||
tag: :account_online_state
|
tag: :account_online_state
|
||||||
)
|
) do
|
||||||
|
if account.signed_in?
|
||||||
|
image safe_get_image("#{ROOT_PATH}/media/ui/circle_small.png"), width: 1.0, height: 1.0, color: 0xff_26a269, padding: 1
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
stack(fill: true, height: 1.0, margin_left: HALF_PADDING) do
|
stack(fill: true, height: 1.0, margin_left: HALF_PADDING) do
|
||||||
|
|||||||
Reference in New Issue
Block a user