enchanted-canvas icon indicating copy to clipboard operation
enchanted-canvas copied to clipboard

Zoom breakpoint

Open sujitha-av opened this issue 6 months ago • 0 comments

Hello. Great job with the plugin and especially the documentation.

Background

I wanted a feature where I could change the breakpoint of the zoom level of the canvas to whatever value I wanted. This is because when we zoom out in a canvas, the actual nodes are replaced by placeholder nodes so no text is visible; and the point at which this happens is pretty fast is what I felt and wanted to configure it.

Solution Context

  • As you said in the docs, there is no API to interact with canvas in Obsidian and especially this property of zoomBreakpoint does not have a setter.
  • So I have tried to implement a proxy getter and setter for this property and tried to achieve this goal.

But it does not work and I am struggling to make it work. Any ideas/direction to proceed would be a great help!

sujitha-av avatar Aug 03 '24 07:08 sujitha-av