[DE PE SSE mobile] Bug 47148

This commit is contained in:
SergeyEzhin 2021-06-11 17:20:32 +03:00
parent 210e8dcd3b
commit 571768c1ff
4 changed files with 18 additions and 0 deletions

View file

@ -71,6 +71,11 @@ export class storeTextSettings {
type : font.asc_getFontType() type : font.asc_getFontType()
}); });
} }
array.sort(function(a, b) {
return (a.name.toLowerCase() > b.name.toLowerCase()) ? 1 : -1;
});
this.fontsArray = array; this.fontsArray = array;
} }
resetFontName (font) { resetFontName (font) {

View file

@ -75,6 +75,11 @@ export class storeTextSettings {
type : font.asc_getFontType() type : font.asc_getFontType()
}); });
} }
array.sort(function(a, b) {
return (a.name.toLowerCase() > b.name.toLowerCase()) ? 1 : -1;
});
this.fontsArray = array; this.fontsArray = array;
} }

View file

@ -140,6 +140,10 @@ export class storeCellSettings {
}); });
} }
array.sort(function(a, b) {
return (a.name.toLowerCase() > b.name.toLowerCase()) ? 1 : -1;
});
this.fontsArray = array; this.fontsArray = array;
} }

View file

@ -74,6 +74,10 @@ export class storeTextSettings {
}); });
} }
array.sort(function(a, b) {
return (a.name.toLowerCase() > b.name.toLowerCase()) ? 1 : -1;
});
this.fontsArray = array; this.fontsArray = array;
} }