mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Some small bug fixes. Make click (but not drag) inside the view box behave like a click outside.
git-svn-id: svn://localhost/ardour2/branches/3.0@5183 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
6764ab7856
commit
eed07f4516
2 changed files with 42 additions and 26 deletions
|
|
@ -23,6 +23,7 @@ public:
|
|||
void set_bounds_dirty ();
|
||||
|
||||
private:
|
||||
void centre_on_click (GdkEventButton *);
|
||||
bool on_expose_event (GdkEventExpose *);
|
||||
void on_size_request (Gtk::Requisition *);
|
||||
void on_size_allocate (Gtk::Allocation &);
|
||||
|
|
@ -46,6 +47,7 @@ private:
|
|||
bool _dragging;
|
||||
double _x_offset;
|
||||
double _y_offset;
|
||||
bool _moved;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue