Skip to content

Commit

Permalink
fix icon openmagevariable (OpenMage#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
empiricompany committed Aug 23, 2023
1 parent 3a2ff97 commit 2cd4e0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/mage/adminhtml/wysiwyg/tinymce/plugins/openmagevariable.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ tinymce.PluginManager.add('openmagevariable', (ed, url) => {

editor.ui.registry.addIcon(
'openmagevariable',
'<svg width="24" height="24" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">' +
'<path d="M5.5 3C4.11929 3 3 4.11929 3 5.5V8.38197C3 8.87472 2.72331 9.32545 2.28459 9.54865C2.11627 9.62913 2 9.80099 2 10C2 10.199 2.11627 10.3709 2.28459 10.4513C2.72331 10.6745 3 11.1253 3 11.618V14.5C3 15.8807 4.11929 17 5.5 17C5.77614 17 6 16.7761 6 16.5C6 16.2239 5.77614 16 5.5 16C4.67157 16 4 15.3284 4 14.5V11.618C4 11.0029 3.75555 10.4249 3.33834 10C3.75556 9.57511 4 8.9971 4 8.38197V5.5C4 4.67157 4.67157 4 5.5 4C5.77614 4 6 3.77614 6 3.5C6 3.22386 5.77614 3 5.5 3ZM14.5 3C15.8807 3 17 4.11929 17 5.5V8.38197C17 8.87472 17.2767 9.32545 17.7154 9.54865C17.8837 9.62913 18 9.80099 18 10C18 10.199 17.8837 10.3709 17.7154 10.4513C17.2767 10.6745 17 11.1253 17 11.618V14.5C17 15.8807 15.8807 17 14.5 17C14.2239 17 14 16.7761 14 16.5C14 16.2239 14.2239 16 14.5 16C15.3284 16 16 15.3284 16 14.5V11.618C16 11.0029 16.2444 10.4249 16.6617 10C16.2444 9.57511 16 8.9971 16 8.38197V5.5C16 4.67157 15.3284 4 14.5 4C14.2239 4 14 3.77614 14 3.5C14 3.22386 14.2239 3 14.5 3ZM7.90691 6.20942C7.7464 5.98471 7.43413 5.93267 7.20942 6.09317C6.98471 6.25368 6.93267 6.56595 7.09317 6.79066L9.38559 10L7.09317 13.2094C6.93267 13.4341 6.98471 13.7464 7.20942 13.9069C7.43413 14.0674 7.7464 14.0154 7.90691 13.7907L10 10.8603L12.0932 13.7907C12.2537 14.0154 12.566 14.0674 12.7907 13.9069C13.0154 13.7464 13.0674 13.4341 12.9069 13.2094L10.6145 10L12.9069 6.79066C13.0674 6.56595 13.0154 6.25368 12.7907 6.09317C12.566 5.93267 12.2537 5.98471 12.0932 6.20942L10 9.13981L7.90691 6.20942Z"/>' +
'<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18">' +
'<path d="M3.9298,0C2.37414,0,1.113,2.37414,1.113,3.9298V7.17695A1.47489,1.47489,0,0,1,.307,8.49146a0.56355,0.56355,0,0,0,0,1.017A1.475,1.475,0,0,1,1.113,10.823V14.0702C1.113,15.62585,2.37414,18,3.9298,18a0.56336,0.56336,0,0,0,0-1.12671c-0.9334,0-1.69007-1.86972-1.69007-2.80309V10.823A2.60153,2.60153,0,0,0,1.49423,9a2.60148,2.60148,0,0,0,.7455-1.82305V3.9298c0-.9334.75667-2.80309,1.69007-2.80309A0.56336,0.56336,0,0,0,3.9298,0ZM14.0702,0C15.62585,0,16.887,2.37414,16.887,3.9298V7.17695A1.47492,1.47492,0,0,0,17.693,8.49146a0.56354,0.56354,0,0,1,0,1.017A1.475,1.475,0,0,0,16.887,10.823V14.0702C16.887,15.62585,15.62585,18,14.0702,18a0.56336,0.56336,0,0,1,0-1.12671c0.93337,0,1.69007-1.86972,1.69007-2.80309V10.823A2.60114,2.60114,0,0,1,16.50581,9a2.60113,2.60113,0,0,1-.74554-1.82305V3.9298c0-.9334-0.7567-2.80309-1.69007-2.80309A0.56336,0.56336,0,1,1,14.0702,0ZM6.64169,4.72911a0.56336,0.56336,0,1,0-.91685.65489L8.30774,9l-2.5829,3.61607a0.56338,0.56338,0,0,0,.91685.655L9,9.96931,11.35843,13.271a0.56336,0.56336,0,1,0,.91681-0.655L9.69236,9l2.58287-3.616a0.56334,0.56334,0,1,0-.91681-0.65489L9,8.03081Z" />' +
'</svg>'
);

Expand Down

0 comments on commit 2cd4e0a

Please sign in to comment.