nodeview: use existing zoom check function
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user