react-prismazoom icon indicating copy to clipboard operation
react-prismazoom copied to clipboard

How do I modify the initial value of the zoom?

Open vittojf opened this issue 3 years ago • 3 comments

I want to modify the initial value of the zoom. I want him to look away

vittojf avatar Oct 12 '22 15:10 vittojf

I've just tried to implement that; unfortunately, it's not straightforward. At least, it doesn't work with provided examples. Some changes have to be made to boundaries management when zooming out. I could give it a look but not in the near future. Feel free to set a merge request if you have some time to implement it. :)

sylvaindubus avatar Nov 20 '22 13:11 sylvaindubus

@sylvaindubus #57 may be the first step to this. Please test this 'initial value' part on that PR, and send me some feedback about it.

erickriva avatar Dec 09 '22 14:12 erickriva

I've also tried on your branch, but the zoom-out position is still a bit clunky and not well centered. I feel like it shouldn't be too hard to fix though, I'll try to investigate further during the next weeks

sylvaindubus avatar Dec 10 '22 10:12 sylvaindubus