16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 03:39:17 +02:00

fix fast mouse button depress

This commit is contained in:
milek7
2018-10-24 18:30:42 +02:00
parent 56e9fa537b
commit 9f1f67288b
2 changed files with 8 additions and 1 deletions

View File

@@ -104,6 +104,7 @@ private:
bool m_varyingpollrate { false }; // indicates rate of command repeats is affected by the cursor position
glm::dvec2 m_varyingpollrateorigin; // helper, cursor position when the command was initiated
std::array<int, GLFW_MOUSE_BUTTON_LAST> m_buttons;
bool m_pickwaiting;
};
//---------------------------------------------------------------------------