From 71098b6108cfccafa8fdd6a7bcfdfa0922c6e07f Mon Sep 17 00:00:00 2001 From: Eric Wald Date: Sun, 17 Aug 2014 15:45:30 -0600 Subject: [PATCH] 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. --- plugins/stocks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/stocks.cpp b/plugins/stocks.cpp index 3b9c0317d..235ecb873 100644 --- a/plugins/stocks.cpp +++ b/plugins/stocks.cpp @@ -1376,7 +1376,7 @@ struct stocks_stockpile_hook : public df::viewscreen_dwarfmodest auto dims = Gui::getDwarfmodeViewDims(); int left_margin = dims.menu_x1 + 1; int x = left_margin; - int y = 23; + int y = dims.y2 - 5; OutputHotkeyString(x, y, "Show Inventory", "i", true, left_margin); }