Add convenience methods to test for active drags

This commit is contained in:
Robin Gareus 2019-11-09 01:35:55 +01:00
parent 3cecc3d26b
commit a701882e66
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
3 changed files with 17 additions and 0 deletions

View file

@ -493,6 +493,9 @@ public:
return _drags;
}
bool drag_active () const;
bool preview_video_drag_active () const;
void maybe_autoscroll (bool, bool, bool);
bool autoscroll_active() const;