[DE PE SSE mobile] Deleted unnecessary

This commit is contained in:
SergeyEzhin 2021-08-26 14:23:24 +03:00
parent 683b635d5e
commit 0bcadfc32c
3 changed files with 0 additions and 24 deletions

View file

@ -115,14 +115,6 @@ export class storeTextSettings {
const applicationPixelRatio = Common.Utils.applicationPixelRatio(); const applicationPixelRatio = Common.Utils.applicationPixelRatio();
if (typeof window['AscDesktopEditor'] === 'object') {
this.thumbs[0].path = window['AscDesktopEditor'].getFontsSprite('');
this.thumbs[1].path = window['AscDesktopEditor'].getFontsSprite('@1.25x');
this.thumbs[2].path = window['AscDesktopEditor'].getFontsSprite('@1.5x');
this.thumbs[3].path = window['AscDesktopEditor'].getFontsSprite('@1.75x');
this.thumbs[4].path = window['AscDesktopEditor'].getFontsSprite('@2x');
}
let bestDistance = Math.abs(applicationPixelRatio - this.thumbs[0].ratio); let bestDistance = Math.abs(applicationPixelRatio - this.thumbs[0].ratio);
let currentDistance = 0; let currentDistance = 0;

View file

@ -116,14 +116,6 @@ export class storeTextSettings {
const applicationPixelRatio = Common.Utils.applicationPixelRatio(); const applicationPixelRatio = Common.Utils.applicationPixelRatio();
if (typeof window['AscDesktopEditor'] === 'object') {
this.thumbs[0].path = window['AscDesktopEditor'].getFontsSprite('');
this.thumbs[1].path = window['AscDesktopEditor'].getFontsSprite('@1.25x');
this.thumbs[2].path = window['AscDesktopEditor'].getFontsSprite('@1.5x');
this.thumbs[3].path = window['AscDesktopEditor'].getFontsSprite('@1.75x');
this.thumbs[4].path = window['AscDesktopEditor'].getFontsSprite('@2x');
}
let bestDistance = Math.abs(applicationPixelRatio - this.thumbs[0].ratio); let bestDistance = Math.abs(applicationPixelRatio - this.thumbs[0].ratio);
let currentDistance = 0; let currentDistance = 0;

View file

@ -119,14 +119,6 @@ export class storeTextSettings {
const applicationPixelRatio = Common.Utils.applicationPixelRatio(); const applicationPixelRatio = Common.Utils.applicationPixelRatio();
if (typeof window['AscDesktopEditor'] === 'object') {
this.thumbs[0].path = window['AscDesktopEditor'].getFontsSprite('');
this.thumbs[1].path = window['AscDesktopEditor'].getFontsSprite('@1.25x');
this.thumbs[2].path = window['AscDesktopEditor'].getFontsSprite('@1.5x');
this.thumbs[3].path = window['AscDesktopEditor'].getFontsSprite('@1.75x');
this.thumbs[4].path = window['AscDesktopEditor'].getFontsSprite('@2x');
}
let bestDistance = Math.abs(applicationPixelRatio - this.thumbs[0].ratio); let bestDistance = Math.abs(applicationPixelRatio - this.thumbs[0].ratio);
let currentDistance = 0; let currentDistance = 0;