SSShooter/mind-elixir-core

image cutting issue

CodeFox1119 opened this issue · 1 comments

I've typed long text and then got image by using painter.exportPng(). but it's cut image. the below image is mind map.
In the map, it's showing multi lines.
image

it's showing one line at an exported image. here is cut image
62e536c05ffe58775acaa64e
how can I get solved this issue?

This function is working in progress. To fix it, you could wrap the text manually.

https://github.com/ssshooter/mind-elixir-core/blob/6c18ece1dde35de1d5f89a1caf20ab4ae79248af/painter/index.js#L179