diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-07-26 18:49:51 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-26 18:49:51 -0300 |
commit | 542bd81e760c4fcd271e95120978f6ddfa730ad5 (patch) | |
tree | 851581861aa69aa38a66df736bec97f06c9cd44f /scene/gui/graph_edit.h | |
parent | 548a69aca7d843654ccc554da436bd03f2d59a7b (diff) | |
parent | 60e19f77519caee64842319443cd19e20c699d81 (diff) |
Merge pull request #5926 from akien-mga/pr-graphedit-drag
Fix GraphEdit dragging issues at scales != 1
Diffstat (limited to 'scene/gui/graph_edit.h')
-rw-r--r-- | scene/gui/graph_edit.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; |