implemented vertical "zooming" in the TimelineWidget and CurveView
This comes in the form of changing the vertical scale in the CurveView and adjusting all track heights in the Timeline.
This commit is contained in:
@@ -25,6 +25,8 @@ protected:
|
||||
|
||||
virtual void ScaleChangedEvent(double scale) override;
|
||||
|
||||
virtual void VerticalScaleChangedEvent(double scale) override;
|
||||
|
||||
private:
|
||||
QList<NodeKeyframe*> GetKeyframesSortedByTime();
|
||||
|
||||
@@ -36,6 +38,8 @@ private:
|
||||
|
||||
void AdjustLines();
|
||||
|
||||
void CreateBezierControlPoints(KeyframeViewItem *item);
|
||||
|
||||
int text_padding_;
|
||||
|
||||
int minimum_grid_space_;
|
||||
@@ -47,6 +51,8 @@ private:
|
||||
private slots:
|
||||
void KeyframeValueChanged();
|
||||
|
||||
void KeyframeTypeChanged();
|
||||
|
||||
void SelectionChanged();
|
||||
|
||||
void BezierControlPointDestroyed();
|
||||
|
||||
Reference in New Issue
Block a user