mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-27 19:02:23 +08:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user