Moving the stocks stockpile hotkey to the bottom of the menu.

The hard-coded location is no longer appropriate for the new behavior of the linked stockpiles list.
develop
Eric Wald 2014-08-17 15:45:30 -06:00
parent 034e34f8b6
commit 71098b6108
1 changed files with 1 additions and 1 deletions

@ -1376,7 +1376,7 @@ struct stocks_stockpile_hook : public df::viewscreen_dwarfmodest
auto dims = Gui::getDwarfmodeViewDims(); auto dims = Gui::getDwarfmodeViewDims();
int left_margin = dims.menu_x1 + 1; int left_margin = dims.menu_x1 + 1;
int x = left_margin; int x = left_margin;
int y = 23; int y = dims.y2 - 5;
OutputHotkeyString(x, y, "Show Inventory", "i", true, left_margin); OutputHotkeyString(x, y, "Show Inventory", "i", true, left_margin);
} }