@tilde-nlp/ngx-common 8.1.67 → 8.1.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -8709,7 +8709,6 @@ class AccessibilityService {
|
|
|
8709
8709
|
#screenMask;
|
|
8710
8710
|
#storage;
|
|
8711
8711
|
constructor() {
|
|
8712
|
-
this.sizeIncreaseSubject = new Subject();
|
|
8713
8712
|
this.#textMagnifier = inject(AccessibilityTextMagnifierService);
|
|
8714
8713
|
this.#screenMask = inject(AccessibilityScreenMaskService);
|
|
8715
8714
|
this.#storage = inject(USER_CONFIG_STORAGE, { optional: true });
|
|
@@ -8765,12 +8764,6 @@ class AccessibilityService {
|
|
|
8765
8764
|
#updateFontSizeFromPreferences() {
|
|
8766
8765
|
const fontSizeIx = this.preferences().fontSizeIndex;
|
|
8767
8766
|
const sizes = Object.values(AccessibilityFontSizes);
|
|
8768
|
-
if (fontSizeIx > 0) {
|
|
8769
|
-
this.sizeIncreaseSubject.next(true);
|
|
8770
|
-
}
|
|
8771
|
-
else {
|
|
8772
|
-
this.sizeIncreaseSubject.next(false);
|
|
8773
|
-
}
|
|
8774
8767
|
document.querySelector('html').style.fontSize = sizes[fontSizeIx];
|
|
8775
8768
|
}
|
|
8776
8769
|
#updateContrastFromPreferences() {
|