princejwesley / minimap

A preview of full webpage or its DOM element with flexible positioning and navigation support
http://www.toolitup.com/minimap.html
MIT License
244 stars 51 forks source link

Hi. I love your minimap :) #13

Open ghost opened 7 years ago

ghost commented 7 years ago

Im using it currently for a dark souls world map website. http://e3.netne.net/darksoulsmap/

But for some reason, well, I know the reason but I'm unware how to fix them. Im using multiple images and get small white lines in the mini-map like this, https://snag.gy/1GDsaU.jpg

If you know how to fix it then it be nice =)

austin-rausch commented 7 years ago

Your link to the site doesn't seem to work. If you can provide a working example that does the same thing I may be able to help.

ghost commented 7 years ago

http://stephaniie.com/_testlab/beta1/

austin-rausch commented 7 years ago

As far as I can tell this isn't an issue with this widget but rather an issue with the browser itself. It seems to only happen on images that have css scale property applied to them. Using this module I don't think there is a way around this however what you could do is create and save the rendered element. After that you could edit the css and images to have height and width values rather that using scale. If that doesn't work you can try adding a negative margin-top value to see if it will close the tiny gap. Sorry I can't be of any more help but that's all I was able to figure out.