[SSE DE PE] Fix bug in shape shape menu for IE11

This commit is contained in:
Alexei Koshelev
2023-12-27 16:11:18 +03:00
parent 1ea7e95bee
commit 6bdf8e90da
6 changed files with 24 additions and 6 deletions

View File

@ -1958,7 +1958,12 @@ define([
]),
itemTemplate: _.template(
'<div class="item-shadow">' +
'<div style="margin-bottom:<%= offsetY %>px; margin-right:<%= offsetX %>px; box-shadow: <%= offsetX %>px <%= offsetY %>px 0px <%= spread %>px var(--text-tertiary);"></div>' +
'<div ' +
'style="margin-bottom:<%= offsetY %>px;' +
'margin-right:<%= offsetX %>px;' +
'box-shadow: <%= offsetX %>px <%= offsetY %>px 0px <%= spread %>px <% if(Common.Utils.isIE) {%>rgba(0,0,0,0.4)<%} else {%>var(--text-tertiary)<%}%>;"' +
'>' +
'</div>' +
'</div>')
});
this.viewShadowShapePresets.on('item:click', _.bind(this.onSelectShadowPreset, this));

View File

@ -271,7 +271,8 @@
height: 32px;
background: white;
border-radius: 1px;
border: 1px var(--icon-normal) solid;
border: 1px @icon-normal-ie solid;
border: 1px @icon-normal solid;
}
}

View File

@ -1821,7 +1821,12 @@ define([
]),
itemTemplate: _.template(
'<div class="item-shadow">' +
'<div style="margin-bottom:<%= offsetY %>px; margin-right:<%= offsetX %>px; box-shadow: <%= offsetX %>px <%= offsetY %>px 0px <%= spread %>px var(--text-tertiary);"></div>' +
'<div ' +
'style="margin-bottom:<%= offsetY %>px;' +
'margin-right:<%= offsetX %>px;' +
'box-shadow: <%= offsetX %>px <%= offsetY %>px 0px <%= spread %>px <% if(Common.Utils.isIE) {%>rgba(0,0,0,0.4)<%} else {%>var(--text-tertiary)<%}%>;"' +
'>' +
'</div>' +
'</div>')
});
this.viewShadowShapePresets.on('item:click', _.bind(this.onSelectShadowPreset, this));

View File

@ -186,7 +186,8 @@
height: 32px;
background: white;
border-radius: 1px;
border: 1px var(--icon-normal) solid;
border: 1px @icon-normal-ie solid;
border: 1px @icon-normal solid;
}
}

View File

@ -1836,7 +1836,12 @@ define([
]),
itemTemplate: _.template(
'<div class="item-shadow">' +
'<div style="margin-bottom:<%= offsetY %>px; margin-right:<%= offsetX %>px; box-shadow: <%= offsetX %>px <%= offsetY %>px 0px <%= spread %>px var(--text-tertiary);"></div>' +
'<div ' +
'style="margin-bottom:<%= offsetY %>px;' +
'margin-right:<%= offsetX %>px;' +
'box-shadow: <%= offsetX %>px <%= offsetY %>px 0px <%= spread %>px <% if(Common.Utils.isIE) {%>rgba(0,0,0,0.4)<%} else {%>var(--text-tertiary)<%}%>;"' +
'>' +
'</div>' +
'</div>')
});
this.viewShadowShapePresets.on('item:click', _.bind(this.onSelectShadowPreset, this));

View File

@ -184,7 +184,8 @@
height: 32px;
background: white;
border-radius: 1px;
border: 1px var(--icon-normal) solid;
border: 1px @icon-normal-ie solid;
border: 1px @icon-normal solid;
}
}