fix(editor): wrong style of mindmap in dark mode (#9462)

<div class='graphite__hidden'>
          <div>🎥 Video uploaded on Graphite:</div>
            <a href="https://app.graphite.dev/media/video/8ypiIKZXudF5a0tIgIzf/87aa060a-12c3-46dc-85fd-28980ba5b2bd.mov">
              <img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/8ypiIKZXudF5a0tIgIzf/87aa060a-12c3-46dc-85fd-28980ba5b2bd.mov">
            </a>
          </div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/8ypiIKZXudF5a0tIgIzf/87aa060a-12c3-46dc-85fd-28980ba5b2bd.mov">Screen Recording 2024-12-31 at 18.05.36.mov</video>
This commit is contained in:
fundon
2024-12-31 11:54:13 +00:00
parent 36c1b103df
commit d97c4b5632
3 changed files with 21 additions and 20 deletions

View File

@@ -80,7 +80,7 @@ export function drawGeneralShape(
ctx.shadowOffsetY = offsetY * scale;
}
ctx.shadowColor = renderer.getPropertyValue(color);
ctx.shadowColor = renderer.getColorValue(color, undefined, true);
}
ctx.stroke();