From 96dd2eb30555a8ac3e9cd83b2874c8a1e2c5940c Mon Sep 17 00:00:00 2001 From: Octav Sandulescu Date: Wed, 30 Sep 2015 16:38:27 +0000 Subject: [PATCH] Size the iconic buttons to normal (fix off-by-one) --- prototypes/prototypes.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/prototypes/prototypes.lua b/prototypes/prototypes.lua index bd1f748..ce313a7 100644 --- a/prototypes/prototypes.lua +++ b/prototypes/prototypes.lua @@ -158,10 +158,10 @@ local function button_graphics(xpos, ypos) return { type = "monolith", - top_monolith_border = 1, - right_monolith_border = 1, - bottom_monolith_border = 1, - left_monolith_border = 1, + top_monolith_border = 0, + right_monolith_border = 0, + bottom_monolith_border = 0, + left_monolith_border = 0, monolith_image = { filename = "__{{MOD_NAME}}__/graphics/gui.png", @@ -185,8 +185,8 @@ default_gui.YARM_button_with_icon = { bottom_padding = 1, left_padding = 1, - width = 16, - height = 16, + width = 17, + height = 17, default_graphical_set = button_graphics( 0, 0), hovered_graphical_set = button_graphics(16, 0),