modified about tab buttons
This commit is contained in:
parent
21c2c6c2a3
commit
861076cd49
@ -187,13 +187,17 @@ return {
|
||||
"style[label_button;border=false]" ..
|
||||
"button[0.1,3.4;5.3,0.5;label_button;" ..
|
||||
core.formspec_escape("SussyCraft 0.8") .. "]" ..
|
||||
"button[1.5,4.1;3.5,0.9;homepage;Privacy Policy]" ..
|
||||
|
||||
-- original x positions: 1.5 and 2.5
|
||||
"button[1.3,4.1;2.9,0.8;homepage;Privacy Policy]" ..
|
||||
"button[1.0,5.1;3.5,0.8;discord;SussyCraft Discord]" ..
|
||||
|
||||
"scroll_container[5.5,0.1;9.5,6.9;scroll_credits;vertical;" ..
|
||||
tostring(scroll_height / 1000) .. "]" .. credit_fs ..
|
||||
"scroll_container_end[]"..
|
||||
"scrollbar[15,0.1;0.4,6.9;vertical;scroll_credits;0]"..
|
||||
"scrollbar[15,0.1;0.4,6.9;vertical;scroll_credits;0]"
|
||||
|
||||
|
||||
"button[1.5,5.1;3.5,0.8;discord;Discord]"
|
||||
|
||||
-- Render information
|
||||
fs = fs .. "style[label_button2;border=false]" ..
|
||||
@ -202,12 +206,6 @@ return {
|
||||
fgettext("Active renderer:") .. "\n" ..
|
||||
core.formspec_escape(core.get_screen_info().render_info) .. "]"
|
||||
|
||||
if PLATFORM == "Android" then
|
||||
|
||||
else
|
||||
|
||||
end
|
||||
|
||||
return fs, "size[15.5,7.1,false]real_coordinates[true]"
|
||||
end,
|
||||
cbf_button_handler = function(this, fields, name, tabdata)
|
||||
@ -218,13 +216,5 @@ return {
|
||||
if fields.discord then
|
||||
core.open_url("https://discord.gg/aJmhBN74sh")
|
||||
end
|
||||
if fields.share_debug then
|
||||
local path = core.get_user_path() .. DIR_DELIM .. "debug.txt"
|
||||
core.share_file(path)
|
||||
end
|
||||
|
||||
if fields.userdata then
|
||||
core.open_dir(core.get_user_path())
|
||||
end
|
||||
end,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user