From 9f17966f87ca6f75ebb780ee7882eb6ca72b93c0 Mon Sep 17 00:00:00 2001 From: Eric Wald Date: Sun, 17 Aug 2014 15:44:02 -0600 Subject: [PATCH] Moving stockflow hotkeys to the bottom of the menu. The hard-coded location is no longer appropriate for the new behavior of the linked stockpiles list. --- plugins/stockflow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/stockflow.cpp b/plugins/stockflow.cpp index d061f02d5..5222d5ec9 100644 --- a/plugins/stockflow.cpp +++ b/plugins/stockflow.cpp @@ -206,7 +206,7 @@ public: auto dims = Gui::getDwarfmodeViewDims(); int left_margin = dims.menu_x1 + 1; int x = left_margin; - int y = 14; + int y = dims.y2 - 3; OutputHotkeyString(x, y, current_job, "j", true, left_margin, COLOR_WHITE, COLOR_LIGHTRED); if (*current_trigger)