[SSE mobile] refactoring
This commit is contained in:
parent
4c38321d72
commit
d116f5e0a0
|
@ -120,8 +120,7 @@ export class storeCellSettings {
|
||||||
this.fontInfo.size = xfs.asc_getFontSize();
|
this.fontInfo.size = xfs.asc_getFontSize();
|
||||||
|
|
||||||
this.fontInfo.color = xfs.asc_getFontColor();
|
this.fontInfo.color = xfs.asc_getFontColor();
|
||||||
let clr = this.resetColor(this.fontInfo.color);
|
this.fontColor = this.resetColor(this.fontInfo.color);
|
||||||
this.fontColor = clr;
|
|
||||||
|
|
||||||
this.isBold = xfs.asc_getFontBold();
|
this.isBold = xfs.asc_getFontBold();
|
||||||
this.isItalic = xfs.asc_getFontItalic();
|
this.isItalic = xfs.asc_getFontItalic();
|
||||||
|
@ -132,9 +131,8 @@ export class storeCellSettings {
|
||||||
let array = [];
|
let array = [];
|
||||||
|
|
||||||
for (let font of fonts) {
|
for (let font of fonts) {
|
||||||
let fontId = font.asc_getFontId();
|
|
||||||
array.push({
|
array.push({
|
||||||
id : fontId,
|
id : font.asc_getFontId(),
|
||||||
name : font.asc_getFontName(),
|
name : font.asc_getFontName(),
|
||||||
//displayValue: font.asc_getFontName(),
|
//displayValue: font.asc_getFontName(),
|
||||||
imgidx : font.asc_getFontThumbnail(),
|
imgidx : font.asc_getFontThumbnail(),
|
||||||
|
@ -167,6 +165,7 @@ export class storeCellSettings {
|
||||||
|
|
||||||
changeBorderSize(size) {
|
changeBorderSize(size) {
|
||||||
this.borderInfo.width = size;
|
this.borderInfo.width = size;
|
||||||
|
console.log('change border width ' + size);
|
||||||
}
|
}
|
||||||
|
|
||||||
changeBorderStyle(type) {
|
changeBorderStyle(type) {
|
||||||
|
|
Loading…
Reference in a new issue