Yet another tweak to the logic for releasing mouse capture into GLToolbar::on_mouse()

This commit is contained in:
Enrico Turri 2019-03-25 08:48:41 +01:00
parent 03aeb0d386
commit dd3ac4017a
2 changed files with 54 additions and 7 deletions

View file

@ -239,7 +239,7 @@ private:
GLCanvas3D* parent;
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
MouseCapture() { reset(); }
MouseCapture() { reset(); }
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
bool any() const { return left || middle || right; }