From 4a685942a923ecc411e73ff13d3b60a8100d6339 Mon Sep 17 00:00:00 2001 From: Keith Simmons Date: Fri, 13 Dec 2019 17:49:36 -0800 Subject: [PATCH] minor bug fixes --- src/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.rs b/src/window.rs index 2dd711c..8f60e3c 100644 --- a/src/window.rs +++ b/src/window.rs @@ -208,7 +208,7 @@ pub fn ui_loop(editor: Arc>) { Event::WindowEvent { event: WindowEvent::MouseWheel { - delta: MouseScrollDelta::LineDelta(delta, _), + delta: MouseScrollDelta::LineDelta(_, delta), .. }, ..