aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-07-25 22:52:42 +0200
committerparamat <mat.gregory@virginmedia.com>2016-07-27 22:20:31 +0100
commit2cb0f649f4429ffda9dbc2f8ef81d9a29914ec20 (patch)
tree350275c8a5e9bd7cafa8bdaf5897d07b1ea3d0b9 /builtin
parentc8b4bedaa89ac5246161b1bb9e3826dcce083fcf (diff)
downloadminetest-2cb0f649f4429ffda9dbc2f8ef81d9a29914ec20.tar.gz
minetest-2cb0f649f4429ffda9dbc2f8ef81d9a29914ec20.tar.bz2
minetest-2cb0f649f4429ffda9dbc2f8ef81d9a29914ec20.zip
Main menu, lua_api.txt: Fix mod/texture pack screenshot size issues
Recommend mod screenshot size in lua_api.txt Adjust displayed screenshot size of texture packs Document texture pack files in lua_api.txt
Diffstat (limited to 'builtin')
-rw-r--r--builtin/mainmenu/tab_texturepacks.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/mainmenu/tab_texturepacks.lua b/builtin/mainmenu/tab_texturepacks.lua
index a102fd61d..4614a2974 100644
--- a/builtin/mainmenu/tab_texturepacks.lua
+++ b/builtin/mainmenu/tab_texturepacks.lua
@@ -96,8 +96,8 @@ local function get_formspec(tabview, name, tabdata)
return retval ..
render_texture_pack_list(list) ..
";" .. index .. "]" ..
- "image[0.25,0.25;4.0,3.7;" .. core.formspec_escape(screenfile or no_screenshot) .. "]" ..
- "textarea[0.6,3.5;3.7,1.5;;" .. core.formspec_escape(infotext or "") .. ";]"
+ "image[0.25,0.25;4.05,2.7;" .. core.formspec_escape(screenfile or no_screenshot) .. "]" ..
+ "textarea[0.6,2.85;3.7,1.5;;" .. core.formspec_escape(infotext or "") .. ";]"
end
--------------------------------------------------------------------------------