mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Fix into GLToolbar::on_mouse()
This commit is contained in:
parent
9f06dbd615
commit
42c5d624cb
2 changed files with 22 additions and 4 deletions
|
@ -236,8 +236,10 @@ private:
|
|||
bool left;
|
||||
bool middle;
|
||||
bool right;
|
||||
GLCanvas3D* parent;
|
||||
|
||||
bool any() const { return left || middle || right; }
|
||||
void reset() { left = middle = right = false; parent = nullptr; }
|
||||
};
|
||||
|
||||
MouseCapture m_mouse_capture;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue