[PE] For bug 62500

This commit is contained in:
Alexey Koshelev
2025-12-11 11:01:35 +03:00
parent 49cf895a2b
commit 46a85123d2
3 changed files with 8 additions and 5 deletions

View File

@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none" viewBox="0 0 28 28">
<path fill="#444" d="M21 16a5 5 0 0 1 0 10H7a5 5 0 0 1 0-10zm-1 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6M8 4a3 3 0 1 1 0 6 3 3 0 0 1 0-6"/>
<path fill="#444" d="M21 2a5 5 0 0 1 0 10H7l-.257-.007a5 5 0 0 1 0-9.986L7 2zM7 3a4 4 0 1 0 0 8h14a4 4 0 0 0 0-8z"/>
</svg>

After

Width:  |  Height:  |  Size: 357 B

View File

@ -266,7 +266,7 @@ define([
if (this._state.Effect !== undefined) {
var item = me.listEffects.store.findWhere({value: this._state.Effect});
me.listEffects.menuPicker.selectRecord(item ? item : me.listEffects.menuPicker.items[0]);
this.view.btnParameters.setIconCls('toolbar__icon icon ' + item.get('imageUrl'));
this.view.btnParameters.setIconCls('toolbar__icon ' + item.get('imageUrl'));
}
if (me.btnParameters.menu.getItemsLength() > 0 && this._state.EffectType !== undefined)

View File

@ -146,7 +146,7 @@ define([
autoWidth: true,
itemTemplate: _.template([
'<div class = "btn_item x-huge" id = "<%= id %>" style = "width: ' + itemWidth + 'px;height: ' + itemHeight + 'px;">',
'<div class = "icon toolbar__icon <%= imageUrl %>"></div>',
'<div class = "icon toolbar__icon options__icon <%= imageUrl %>"></div>',
'<div class = "caption"><%= title %></div>',
'</div>'
].join('')),
@ -196,10 +196,9 @@ define([
this.lockedControls.push(this.btnPreview);
this.btnParameters = new Common.UI.Button({
cls: 'btn-toolbar x-huge icon-top',
cls: 'btn-toolbar x-huge icon-top',
caption: this.txtParameters,
iconCls: 'toolbar__icon icon btn-transition-none',
scaling: false,
iconCls: 'toolbar__icon btn-transition-none',
menu: new Common.UI.Menu({
items: this.createParametersMenuItems()
}),