summaryrefslogtreecommitdiffstats
path: root/src/gui/GraphCanvas.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-03-14 22:26:22 -0400
committerDavid Robillard <d@drobilla.net>2016-03-14 22:26:22 -0400
commit7fa32b8bf0223e9c83d4dbff13e93d98dc9b07ca (patch)
treefede87cc87664e0786b84a57598fefea2545a8b2 /src/gui/GraphCanvas.hpp
parent956bf7d64dc8e5e241174250e39098614faa59ea (diff)
downloadingen-7fa32b8bf0223e9c83d4dbff13e93d98dc9b07ca.tar.gz
ingen-7fa32b8bf0223e9c83d4dbff13e93d98dc9b07ca.tar.bz2
ingen-7fa32b8bf0223e9c83d4dbff13e93d98dc9b07ca.zip
Fix context menu position when using keyboard
Diffstat (limited to 'src/gui/GraphCanvas.hpp')
-rw-r--r--src/gui/GraphCanvas.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/GraphCanvas.hpp b/src/gui/GraphCanvas.hpp
index b055d530..61c695c6 100644
--- a/src/gui/GraphCanvas.hpp
+++ b/src/gui/GraphCanvas.hpp
@@ -124,8 +124,8 @@ private:
int _auto_position_count;
std::pair<int, int> _auto_position_scroll_offsets;
- int _last_click_x;
- int _last_click_y;
+ int _menu_x;
+ int _menu_y;
int _paste_count;
// Track pasted objects so they can be selected when they arrive