From 60e19f77519caee64842319443cd19e20c699d81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Tue, 26 Jul 2016 23:19:41 +0200 Subject: Fix GraphEdit dragging issues at scales != 1 Works around the issue originally described in #5907 (that was then hijacked to describe the broader issue it exposes). --- scene/gui/graph_edit.h | 1 + 1 file changed, 1 insertion(+) (limited to 'scene/gui/graph_edit.h') diff --git a/scene/gui/graph_edit.h b/scene/gui/graph_edit.h index ac4e71ba49..ed6838ac1d 100644 --- a/scene/gui/graph_edit.h +++ b/scene/gui/graph_edit.h @@ -92,6 +92,7 @@ private: bool dragging; bool just_selected; Vector2 drag_accum; + Point2 drag_origin; // Workaround for GH-5907 float zoom; -- cgit v1.2.3