Add grayed out URL icon

This commit is contained in:
cx384 2024-12-31 18:29:35 +01:00
parent 5fed56d6b1
commit 0768becc1f
3 changed files with 4 additions and 0 deletions

View File

@ -67,6 +67,7 @@ Zughy:
textures/base/pack/settings_info.png
textures/base/pack/settings_reset.png
textures/base/pack/server_url.png
textures/base/pack/server_url_unavailable.png
textures/base/pack/server_view_clients.png
textures/base/pack/server_view_clients_unavailable.png

View File

@ -208,6 +208,9 @@ local function get_formspec(tabview, name, tabdata)
retval = retval .. "style[btn_server_url;padding=6]"
retval = retval .. "image_button[3.5,1.3;0.5,0.5;" ..
core.formspec_escape(defaulttexturedir .. "server_url.png") .. ";btn_server_url;]"
else
retval = retval .. "image[3.6,1.4;0.3,0.3;" .. core.formspec_escape(defaulttexturedir ..
"server_url_unavailable.png") .. "]"
end
-- Favorites toggle button

Binary file not shown.

After

Width:  |  Height:  |  Size: 297 B