Fix: fix zoom increase/decrease buttons in FF (#9761)

This commit is contained in:
shamoon
2025-04-22 08:02:43 -07:00
committed by GitHub
parent 648cfd9d05
commit fcb7349e8e
3 changed files with 7 additions and 14 deletions

View File

@@ -9,9 +9,9 @@
}
<div class="input-group input-group-sm me-md-5 d-none d-md-flex">
<button class="btn btn-outline-secondary" (click)="decreaseZoom()" i18n>-</button>
<select class="form-select" (change)="setZoom($event.target.value)">
<select class="form-select" (change)="setZoom($event.target.value)" [ngModel]="currentZoom">
@for (setting of zoomSettings; track setting) {
<option [value]="setting" [attr.selected]="isZoomSelected(setting) ? 'selected' : null">
<option [value]="setting">
{{ getZoomSettingTitle(setting) }}
</option>
}