Skip to content

Commit

Permalink
fixed stuff for 0.18
Browse files Browse the repository at this point in the history
  • Loading branch information
knoxfighter committed Jan 21, 2020
1 parent d0f6e5d commit df8878f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions control.lua
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,7 @@ function create_gui(player_index)
local card = tableView.add{ type = "frame"}
card.style.height = stop_height
card.style.width = stop_width
card.style.top_padding = 0
card.style.right_padding = 4
card.style.bottom_padding = 0
card.style.left_padding = 4
card.style.padding = {0, 4}
card.visible = filter_station(player_index, train_stop.backer_name)

-- add card to list
Expand Down
4 changes: 2 additions & 2 deletions data.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ data:extend{
{
type = "sprite",
name = "train-station-overview-map-sprite",
filename = "__core__/graphics/icons/map.png",
filename = "__core__/graphics/icons/mip/map.png",
priority = "extra-high",
width = 32,
height = 32
},
{
type = "sprite",
name = "train-station-overview-refresh-sprite",
filename = "__core__/graphics/icons/refresh.png",
filename = "__core__/graphics/icons/mip/refresh.png",
width = 32,
height = 32
}
Expand Down

0 comments on commit df8878f

Please sign in to comment.