Skip to content

Commit 642ae78

Browse files
committed
refactor: update duplicate icon
1 parent 544865f commit 642ae78

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -587,10 +587,11 @@ function RemoteFunctions(config) {
587587
</svg>
588588
`,
589589

590-
copy: `
590+
duplicate: `
591591
<svg viewBox="0 0 24 24" fill="currentColor">
592-
<path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0
593-
1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"/>
592+
<path d="M18 3H4C3.44772 3 3 3.44772 3 4V18C3 18.5523 2.55228 19 2 19C1.44772 19 1 18.5523 1 18V4C1 2.34315 2.34315 1 4 1H18C18.5523 1 19 1.44772 19 2C19 2.55228 18.5523 3 18 3Z"/>
593+
<path d="M13 11C13 10.4477 13.4477 10 14 10C14.5523 10 15 10.4477 15 11V13H17C17.5523 13 18 13.4477 18 14C18 14.5523 17.5523 15 17 15H15V17C15 17.5523 14.5523 18 14 18C13.4477 18 13 17.5523 13 17V15H11C10.4477 15 10 14.5523 10 14C10 13.4477 10.4477 13 11 13H13V11Z"/>
594+
<path fill-rule="evenodd" clip-rule="evenodd" d="M20 5C21.6569 5 23 6.34315 23 8V20C23 21.6569 21.6569 23 20 23H8C6.34315 23 5 21.6569 5 20V8C5 6.34315 6.34315 5 8 5H20ZM20 7C20.5523 7 21 7.44772 21 8V20C21 20.5523 20.5523 21 20 21H8C7.44772 21 7 20.5523 7 20V8C7 7.44772 7.44772 7 8 7H20Z"/>
594595
</svg>
595596
`,
596597

@@ -620,7 +621,7 @@ function RemoteFunctions(config) {
620621

621622
// Always include duplicate and delete options
622623
content += `<span data-action="duplicate" title="${config.strings.duplicate}">
623-
${ICONS.copy}
624+
${ICONS.duplicate}
624625
</span>
625626
<span data-action="delete" title="${config.strings.delete}">
626627
${ICONS.trash}

0 commit comments

Comments
 (0)