Skip to content

Commit

Permalink
Moving the autotrade hotkey to the bottom of the menu.
Browse files Browse the repository at this point in the history
The hard-coded location is no longer appropriate for the new behavior of the linked stockpiles list.
  • Loading branch information
eswald committed Aug 17, 2014
1 parent 9f17966 commit 034e34f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/autotrade.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ struct trade_hook : public df::viewscreen_dwarfmodest
auto dims = Gui::getDwarfmodeViewDims();
int left_margin = dims.menu_x1 + 1;
int x = left_margin;
int y = 24;
int y = dims.y2 - 4;
OutputToggleString(x, y, "Auto trade", "Shift-T", monitor.isMonitored(sp), true, left_margin);
}
};
Expand Down

0 comments on commit 034e34f

Please sign in to comment.