style(flow): adjust default styles

This commit is contained in:
moklick
2020-07-21 15:52:17 +02:00
parent 69c41b9b91
commit 4934cec6c9
3 changed files with 17 additions and 14 deletions
@@ -15,7 +15,7 @@ const MiniMapNode = ({ node, color, borderRadius }: MiniMapNodeProps) => {
height,
} = node.__rf;
const { background, backgroundColor } = node.style || {};
const fill = (background || backgroundColor || color) as string;
const fill = (color || background || backgroundColor) as string;
return (
<rect