Update Brand Accent to Reflect Reduce Animation
This commit is contained in:
1 parent
0908064688
commit
a2ec29adca
1 file changed
+1
-1
@@ -261,7 +261,7 @@ export class BrandAccent implements OnDestroy {
|
|||||||
(this.canvasNativeSize[1] - this.animation.gridDimension[1] * this.animation.gridSquareSize) /
|
(this.canvasNativeSize[1] - this.animation.gridDimension[1] * this.animation.gridSquareSize) /
|
||||||
2;
|
2;
|
||||||
|
|
||||||
const movingOffset = -(this.animation.gridSquareSize * this.animation.progress);
|
const movingOffset = this.settingsService.reduceAnimation() ? 0 : -(this.animation.gridSquareSize * this.animation.progress);
|
||||||
|
|
||||||
for (let y = 0; y < this.animation.gridDimension[1]; y++) {
|
for (let y = 0; y < this.animation.gridDimension[1]; y++) {
|
||||||
this.ctx.moveTo(
|
this.ctx.moveTo(
|
||||||
|
|||||||
Reference in new issue
Block a user