From 7fa32b8bf0223e9c83d4dbff13e93d98dc9b07ca Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 14 Mar 2016 22:26:22 -0400 Subject: Fix context menu position when using keyboard --- src/gui/GraphCanvas.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/GraphCanvas.hpp') 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 _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 -- cgit v1.2.1