mirror of
git://repo.or.cz/minetest_schemedit.git
synced 2025-01-09 09:30:32 +01:00
Remove symbols in slice buttons
This commit is contained in:
parent
8e0794217d
commit
cb1e33485e
10
init.lua
10
init.lua
@ -580,19 +580,19 @@ schemedit.add_form("slice", {
|
|||||||
end
|
end
|
||||||
|
|
||||||
if not self.panel_edit then
|
if not self.panel_edit then
|
||||||
form = form.."button[0,6;2.4,1;add;"..F(S("+ Add slice")).."]"
|
form = form.."button[0,6;2.4,1;add;"..F(S("Add slice")).."]"
|
||||||
end
|
end
|
||||||
|
|
||||||
if slices ~= "" and self.selected and not self.panel_add then
|
if slices ~= "" and self.selected and not self.panel_add then
|
||||||
if not self.panel_edit then
|
if not self.panel_edit then
|
||||||
form = form..[[
|
form = form..[[
|
||||||
button[2.4,6;2.4,1;remove;]]..F(S("- Remove slice"))..[[]
|
button[2.4,6;2.4,1;remove;]]..F(S("Remove slice"))..[[]
|
||||||
button[4.8,6;2.4,1;edit;]]..F(S("+/- Edit slice"))..[[]
|
button[4.8,6;2.4,1;edit;]]..F(S("Edit slice"))..[[]
|
||||||
]]
|
]]
|
||||||
else
|
else
|
||||||
form = form..[[
|
form = form..[[
|
||||||
button[2.4,6;2.4,1;remove;]]..F(S("- Remove slice"))..[[]
|
button[2.4,6;2.4,1;remove;]]..F(S("Remove slice"))..[[]
|
||||||
button[4.8,6;2.4,1;edit;]]..F(S("+/- Edit slice"))..[[]
|
button[4.8,6;2.4,1;edit;]]..F(S("Edit slice"))..[[]
|
||||||
]]
|
]]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user