diff --git a/assets/icons/next.svg b/assets/icons/next.svg new file mode 100644 index 000000000..5c54b0253 --- /dev/null +++ b/assets/icons/next.svg @@ -0,0 +1,6 @@ + + + +next + + \ No newline at end of file diff --git a/src/js/gui/widgets/ContextMenu.js b/src/js/gui/widgets/ContextMenu.js index 35b1ebfe9..facbc8439 100644 --- a/src/js/gui/widgets/ContextMenu.js +++ b/src/js/gui/widgets/ContextMenu.js @@ -37,7 +37,9 @@ import { DOMElement } from './Widget.js'; import { Layout } from '../Layout.js'; import { ActionButton } from './ActionButton.js'; import { Icon } from './Icon.js'; + import uploadIconUrl from '../../../../assets/icons/upload.svg'; +import nextIconSvg from '../../../../assets/icons/next.svg'; export class ContextMenu extends DOMElement { @@ -177,10 +179,7 @@ export class ContextMenu extends DOMElement { } if (opt.subMenu && opt.subMenu.length > 0) { - let spanEl = document.createElement('span') - spanEl.innerText = '▶'; - - item.appendChild(spanEl); + item.appendChild(new Icon({url: nextIconSvg, size: 'small', monochrome: true}).element()); item.style.display = 'flex'; item.style.alignItems = 'center'; item.style.justifyContent = 'space-between';