• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
Fix column display logic
Line 53: Line 53:  
"buildable",
 
"buildable",
 
"notes",
 
"notes",
 +
},
 +
_stat_columns = {
 +
"firepower",
 +
"torpedo",
 +
"bombing",
 +
"aa",
 +
"asw",
 +
"los",
 +
"luck",
 +
"armor",
 +
"shelling_accuracy",
 +
"evasion",
 +
"speed",
 +
"range",
 
},
 
},
 
_list_columns = {
 
_list_columns = {
Line 327: Line 341:  
table.insert(stat_columns, format{self._column_header_cell_template, value = Formatting:format_image{StatIcons[stat_column], caption = Formatting:format_stat_name(stat_column)}})
 
table.insert(stat_columns, format{self._column_header_cell_template, value = Formatting:format_image{StatIcons[stat_column], caption = Formatting:format_stat_name(stat_column)}})
 
end
 
end
for _, column in ipairs(self._columns) do
+
for _, column in ipairs(self._stat_columns) do
 
if not self._shown_stats[column] then
 
if not self._shown_stats[column] then
 
for _, row_values in ipairs(data_rows) do
 
for _, row_values in ipairs(data_rows) do
Anonymous user

Navigation menu