From 4c514156b7ff2ed51af97eefbdcd2202c817abff Mon Sep 17 00:00:00 2001 From: LoipesMas <46327403+LoipesMas@users.noreply.github.com> Date: Fri, 26 Nov 2021 20:57:16 +0100 Subject: [PATCH] Fix ScaleDown scaling up --- anvil/src/input_handler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anvil/src/input_handler.rs b/anvil/src/input_handler.rs index 79e54eb..58972fe 100644 --- a/anvil/src/input_handler.rs +++ b/anvil/src/input_handler.rs @@ -197,7 +197,7 @@ impl AnvilState { self.output_map .borrow_mut() - .update_scale_by_name(f32::max(1.0f32, current_scale + 0.25f32), output_name); + .update_scale_by_name(f32::max(1.0f32, current_scale - 0.25f32), output_name); } action => match action {