Skip to content

Commit 44df423

Browse files
committed
Increase maximum repeat limits for word and loop settings in LearningComponent
1 parent 2520024 commit 44df423

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/app/pages/learning/learning.component.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ import { Observable, BehaviorSubject, from } from 'rxjs';
361361
transition: all 0.2s ease;
362362
padding: 0;
363363
touch-action: manipulation;
364-
}
364+
2 }
365365
366366
.control-btn:hover {
367367
background: rgba(99, 102, 241, 0.2);
@@ -377,7 +377,7 @@ import { Observable, BehaviorSubject, from } from 'rxjs';
377377
text-align: center;
378378
font-weight: 500;
379379
padding: 0 6px;
380-
}
380+
2 }
381381
382382
/* Media query adjustments for the new control */
383383
@media (max-width: 768px) {
@@ -1509,9 +1509,9 @@ export class LearningComponent implements OnInit, OnDestroy {
15091509

15101510
incrementValue(setting: 'wordRepeat' | 'loopRepeat') {
15111511
if (setting === 'wordRepeat') {
1512-
this.wordRepeat = Math.min(10, this.wordRepeat + 1);
1512+
this.wordRepeat = Math.min(20, this.wordRepeat + 1);
15131513
} else {
1514-
this.loopRepeat = Math.min(10, this.loopRepeat + 1);
1514+
this.loopRepeat = Math.min(20, this.loopRepeat + 1);
15151515
}
15161516
this.saveSettings();
15171517
}

0 commit comments

Comments
 (0)