From 7e57450e78e5ee83600354b0eec76116e158f168 Mon Sep 17 00:00:00 2001 From: lethosor Date: Fri, 8 Jun 2018 22:25:56 -0400 Subject: [PATCH] Change buildingplan quality adjustment keys per #1284 comment, for consistency --- plugins/buildingplan.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/plugins/buildingplan.cpp b/plugins/buildingplan.cpp index 2e41ae96e..a3bb97319 100644 --- a/plugins/buildingplan.cpp +++ b/plugins/buildingplan.cpp @@ -158,22 +158,22 @@ struct buildingplan_hook : public df::viewscreen_dwarfmodest { Screen::show(new ViewscreenChooseMaterial(planner.getDefaultItemFilterForType(type)), plugin_self); } - else if (input->count(interface_key::CUSTOM_SHIFT_Q)) - { - planner.adjustMinQuality(type, 1); - } - else if (input->count(interface_key::CUSTOM_SHIFT_W)) - { - planner.adjustMaxQuality(type, 1); - } else if (input->count(interface_key::CUSTOM_Q)) { planner.adjustMinQuality(type, -1); } else if (input->count(interface_key::CUSTOM_W)) + { + planner.adjustMinQuality(type, 1); + } + else if (input->count(interface_key::CUSTOM_SHIFT_Q)) { planner.adjustMaxQuality(type, -1); } + else if (input->count(interface_key::CUSTOM_SHIFT_W)) + { + planner.adjustMaxQuality(type, 1); + } else if (input->count(interface_key::CUSTOM_SHIFT_D)) { planner.getDefaultItemFilterForType(type)->decorated_only = @@ -280,10 +280,10 @@ struct buildingplan_hook : public df::viewscreen_dwarfmodest auto filter = planner.getDefaultItemFilterForType(type); - OutputHotkeyString(x, y, "Min Quality: ", "qQ"); + OutputHotkeyString(x, y, "Min Quality: ", "qw"); OutputString(COLOR_BROWN, x, y, filter->getMinQuality(), true, left_margin); - OutputHotkeyString(x, y, "Max Quality: ", "wW"); + OutputHotkeyString(x, y, "Max Quality: ", "QW"); OutputString(COLOR_BROWN, x, y, filter->getMaxQuality(), true, left_margin); OutputToggleString(x, y, "Decorated Only: ", "D", filter->decorated_only, true, left_margin);