pageIndicator/animatedPageIndicators: Implement vertical animation

It is basically the same of animating horizontally, except on the Y axis, and
based on the height of the indicators.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1518>
This commit is contained in:
Georges Basile Stavracas Neto
2020-12-02 18:33:26 -03:00
committed by Marge Bot
parent 853644d7fe
commit 3f09876463
2 changed files with 19 additions and 9 deletions

View File

@ -161,7 +161,7 @@ var BaseAppView = GObject.registerClass({
// Page Indicators
if (vertical)
this._pageIndicators = new PageIndicators.AnimatedPageIndicators();
this._pageIndicators = new PageIndicators.AnimatedPageIndicators(orientation);
else
this._pageIndicators = new PageIndicators.PageIndicators(orientation);