nodeview: use existing zoom check function

This commit is contained in:
itsmattkc
2021-01-23 08:18:45 +11:00
parent 03d31b2225
commit 03dc971a4b
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -50,6 +50,8 @@ public:
const double& GetYScale() const;
void SetYScale(const double& y_scale);
static bool WheelEventIsAZoomEvent(QWheelEvent* event);
public slots:
void SetTime(const int64_t time);
@@ -73,8 +75,6 @@ protected:
bool HandleZoomFromScroll(QWheelEvent* event);
bool WheelEventIsAZoomEvent(QWheelEvent* event);
rational GetPlayheadTime() const;
bool PlayheadPress(QMouseEvent* event);