Skip to content

Commit e20026a

Browse files
committed
ui: simplified config for garden
1 parent dbaecc9 commit e20026a

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/scripts/common.js

-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ var main_menu_window = {}
112112
var minimap_window = {}
113113
var advisor_trade_window = {}
114114
var advisor_imperial_window = {}
115-
var info_window_garden = {}
116115
var info_window_figure_enemy = {}
117116
var info_window_figure_animal = {}
118117
var info_window_figure_caravan_donkey = {}

src/scripts/ui.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1250,11 +1250,11 @@ window info_window_raw_material = {
12501250
})
12511251
}
12521252

1253-
info_window_garden = {
1253+
window info_window_garden = {
12541254
ui : {
1255-
background : { type : "outer_panel", pos: [0, 0], size: [29, 17]},
1256-
title : { type : "text", pos: [0, 16], size: [px(29), 13], font : FONT_LARGE_BLACK_ON_LIGHT, align:"center"},
1257-
describe : { type : "text", pos: [32, 66], text: "#gardens_describe", wrap:px(26), font : FONT_NORMAL_BLACK_ON_LIGHT, multiline:true },
1255+
background : outer_panel({size: [29, 17]}),
1256+
title : text({pos: [0, 16], size: [px(29), 13], font : FONT_LARGE_BLACK_ON_LIGHT, align:"center"}),
1257+
describe : text({pos: [32, 66], text: "#gardens_describe", wrap:px(26), font : FONT_NORMAL_BLACK_ON_LIGHT, multiline:true }),
12581258
button_help : help_button({}),
12591259
button_close : close_button({}),
12601260
}

0 commit comments

Comments
 (0)