mirror of
https://github.com/kovetskiy/mark.git
synced 2025-06-15 04:09:54 +08:00

The D2Scale property of MarkConfig was never initialized, leading to a default value of 0 being passed to the D2 renderer. This eventually led to calling chromedp.ScreenshotScale with a scale value of 0. Chrome doesn't like this, and never finishes the sceenshot operation. Fixes #610