diff options
| author | Rémi Verschelde | 2016-07-26 23:19:41 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2016-07-26 23:19:41 +0200 |
| commit | 60e19f77519caee64842319443cd19e20c699d81 (patch) | |
| tree | 646c1a33239aaee784d469d8c4efe6b7a64b3fb8 /scene/gui/graph_edit.h | |
| parent | ccf6b3151d1445f3e1bc351056a64b8f0094bc63 (diff) | |
| download | godot-60e19f77519caee64842319443cd19e20c699d81.tar.gz godot-60e19f77519caee64842319443cd19e20c699d81.tar.zst godot-60e19f77519caee64842319443cd19e20c699d81.zip | |
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).
Diffstat (limited to '')
| -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 ac4e71ba4..ed6838ac1 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; |
