[Bug 49591] fix for IE

This commit is contained in:
OVSharova
2023-12-26 18:44:46 +03:00
parent 08b45a78ff
commit 00d3858039
2 changed files with 4 additions and 2 deletions

View File

@ -79,8 +79,8 @@ define([
height: 16,
border:0.5,
activeThumbIndex: 0,
borderColor: Common.UI.Themes.currentThemeColor('--border-regular-control'),
borderColorActive: Common.UI.Themes.currentThemeColor('--border-control-focus')
borderColor: Common.Utils.isIE ?'#cfcfcf' :Common.UI.Themes.currentThemeColor('--border-regular-control'),
borderColorActive: Common.Utils.isIE? '#848484' :Common.UI.Themes.currentThemeColor('--border-control-focus')
};
this.scale = Common.Utils.applicationPixelRatio() >= 1 ? Common.Utils.applicationPixelRatio() : 1,
Common.UI.MultiSlider.prototype.initialize.call(this, options);
@ -298,6 +298,7 @@ define([
},
changeColors: function () {
if(Common.Utils.isIE) return;
this.tmbOptions.borderColor = Common.UI.Themes.currentThemeColor('--border-regular-control');
this.tmbOptions.borderColorActive = Common.UI.Themes.currentThemeColor('--border-control-focus');
for(var i=0; i< this.thumbs.length; i++){

View File

@ -26,6 +26,7 @@
height: 10px;
bottom: @scaled-one-px-value;
box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.32);
top: 5px;
.margin-left(1px);
.margin-left(@scaled-one-px-value);
}