Skip to content

Commit

Permalink
Size the iconic buttons to normal (fix off-by-one)
Browse files Browse the repository at this point in the history
  • Loading branch information
narc0tiq committed Sep 30, 2015
1 parent b0f6a3c commit 96dd2eb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions prototypes/prototypes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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),
Expand Down

0 comments on commit 96dd2eb

Please sign in to comment.