fix reverse Some/ focus string

develop
Myk Taylor 2024-01-01 19:35:02 -08:00
parent 88f082b468
commit fa0732d651
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

@ -399,10 +399,10 @@ DEFINE_GET_FOCUS_STRING_HANDLER(dwarfmode)
switch(game->main_interface.bottom_mode_selected) { switch(game->main_interface.bottom_mode_selected) {
case df::enums::main_bottom_mode_type::STOCKPILE: case df::enums::main_bottom_mode_type::STOCKPILE:
newFocusString += "/Stockpile";
if (game->main_interface.stockpile.cur_bld) { if (game->main_interface.stockpile.cur_bld) {
newFocusString += "/Some"; newFocusString += "/Some";
} }
newFocusString += "/Stockpile";
break; break;
case df::enums::main_bottom_mode_type::STOCKPILE_PAINT: case df::enums::main_bottom_mode_type::STOCKPILE_PAINT:
newFocusString += "/Stockpile/Paint"; newFocusString += "/Stockpile/Paint";

@ -397,7 +397,7 @@ StockpilesOverlay.ATTRS{
desc='Shows a panel when a stockpile is selected for stockpile automation.', desc='Shows a panel when a stockpile is selected for stockpile automation.',
default_pos={x=24, y=-6}, default_pos={x=24, y=-6},
default_enabled=true, default_enabled=true,
viewscreens='dwarfmode/Some/Stockpile', viewscreens='dwarfmode/Stockpile/Some',
frame={w=65, h=4}, frame={w=65, h=4},
} }