mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-04-07 14:06:16 +08:00
Update DimensionPicker.js
This commit is contained in:
committed by
maxkadushkin
parent
5b6b1423f5
commit
16e9e75397
@ -82,7 +82,7 @@ define([
|
|||||||
me.options.height = me.options.itemSize* this.options.minRows;
|
me.options.height = me.options.itemSize* this.options.minRows;
|
||||||
var rootEl = this.cmpEl;
|
var rootEl = this.cmpEl;
|
||||||
|
|
||||||
me.borderColor = '#aaaaaa';
|
me.borderColor = Common.Utils.isIE ?'#000000' :Common.UI.Themes.currentThemeColor('--canvas-high-contrast');
|
||||||
me.fillColor = Common.Utils.isIE ?'#fff' :Common.UI.Themes.currentThemeColor('--background-normal');
|
me.fillColor = Common.Utils.isIE ?'#fff' :Common.UI.Themes.currentThemeColor('--background-normal');
|
||||||
me.borderColorHighlighted = Common.Utils.isIE ?'#bababa' :Common.UI.Themes.currentThemeColor('--border-preview-hover');
|
me.borderColorHighlighted = Common.Utils.isIE ?'#bababa' :Common.UI.Themes.currentThemeColor('--border-preview-hover');
|
||||||
me.fillColorHighlighted = Common.Utils.isIE ?'#446995' :Common.UI.Themes.currentThemeColor('--background-accent-button');
|
me.fillColorHighlighted = Common.Utils.isIE ?'#446995' :Common.UI.Themes.currentThemeColor('--background-accent-button');
|
||||||
@ -163,6 +163,7 @@ define([
|
|||||||
|
|
||||||
|
|
||||||
changeColors: function (){
|
changeColors: function (){
|
||||||
|
this.borderColor = Common.UI.Themes.currentThemeColor('--canvas-high-contrast');
|
||||||
this.fillColor = Common.UI.Themes.currentThemeColor('--background-normal');
|
this.fillColor = Common.UI.Themes.currentThemeColor('--background-normal');
|
||||||
this.borderColorHighlighted = Common.UI.Themes.currentThemeColor('--border-preview-hover');
|
this.borderColorHighlighted = Common.UI.Themes.currentThemeColor('--border-preview-hover');
|
||||||
this.fillColorHighlighted = Common.UI.Themes.currentThemeColor('--background-accent-button');
|
this.fillColorHighlighted = Common.UI.Themes.currentThemeColor('--background-accent-button');
|
||||||
|
|||||||
Reference in New Issue
Block a user