Skip to content
Snippets Groups Projects
Commit 08901909 authored by Maximilian Giller's avatar Maximilian Giller :squid:
Browse files

Fixes rendering of node icon

parent d615d07f
No related branches found
No related tags found
1 merge request!2Implemented editor in the react framework
Pipeline #56839 passed
......@@ -264,7 +264,7 @@ export class Editor extends React.PureComponent<propTypes, stateTypes> {
const imageSize = 12;
if (node.icon !== undefined) {
const img = new Image();
img.src = node.icon.link;
img.src = node.icon;
ctx.drawImage(
img,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment