Change direction and center when zooming inspector with scroll wheel

This commit is contained in:
rfranke
2020-01-23 07:15:29 +01:00
parent 134aa407c0
commit 38c898884d
2 changed files with 21 additions and 7 deletions

View File

@@ -64,6 +64,7 @@ private:
bool on_button_press_event(GdkEventButton *event) override;
bool on_scroll_event(GdkEventScroll *event) override;
void moveCenter(int delta_x, int delta_y, int imW, int imH, int deviceScale);
Glib::RefPtr<Gtk::GestureZoom> gestureZoom;
void beginZoom(double x, double y);