felixhayashi / TW5-TiddlyMap

Map drawing and topic visualization for your wiki
http://tiddlymap.org
BSD 2-Clause "Simplified" License
857 stars 132 forks source link

Extra canvas used for png export results in extra scrollbar #364

Closed mMHog closed 4 years ago

mMHog commented 4 years ago

Hi, I noticed that there are two ugly scrollbars around the map in the sidebar. When I tried to reomve it, I found a element \<canvas class=" tmap-download-canvas">. The two scrollbar will disappear when I delete the element or set it to hidden="on". I wonder what is the usage of this element. Can it be removed or hide without any influence?

felixhayashi commented 4 years ago

Hi @chengtianhong ,

this canvas is used when downloading/exporting the map as png, however, it is a bug that it is having a visual effect.. it should definitely not cause a scrollbar to be displayed.