File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed
Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 77- Allow more than 5 colors in TS color palette and gradient declaration.
88 The format won`t be checked in compile time, only in runtime.
99- animation-begin event called after actual animation is set up.
10- - animation control methods take effect immediately.
10+ - Animation control methods take effect immediately.
11+ - Wrong orientation after switching from circle geometry fixed.
1112
1213### Added
1314
Original file line number Diff line number Diff line change @@ -86,6 +86,13 @@ OptionsSetter &OrientationSelector::setHorizontal(bool horizontal)
8686 return *this ;
8787}
8888
89+ OptionsSetter &OrientationSelector::setShape (const ShapeType::Type &type)
90+ {
91+ Base::setShape (type);
92+ fixHorizontal ();
93+ return *this ;
94+ }
95+
8996void OrientationSelector::fixHorizontal ()
9097{
9198 auto horOver = horizontalOverride ();
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ class OrientationSelector : public OptionsSetter
1818 std::optional<size_t > pos = std::nullopt ) override ;
1919 OptionsSetter &deleteSeries (const ScaleId &scaleId, const Data::SeriesIndex &index) override ;
2020 OptionsSetter &setHorizontal (bool horizontal) override ;
21+ OptionsSetter &setShape (const ShapeType::Type &type) override ;
22+
2123private:
2224 std::optional<bool > horizontalOverride () const ;
2325 void fixHorizontal ();
You can’t perform that action at this time.
0 commit comments