ofrohn / d3-celestial

A star map with d3.js
BSD 3-Clause "New" or "Revised" License
631 stars 179 forks source link

Interactive:false rendering issue #101

Open ygor opened 3 years ago

ygor commented 3 years ago

Hi,

When I take the altstars example and set interactive to false, instead of half of the globe, only a quarter is rendered. The correct rendering is restored when I resize the browser. Hence there appears to be some redraw issue. Does anyone know how to fix this?

Thanks!

astroanu commented 3 years ago

did you try the redraw method ?

ofrohn commented 3 years ago

Sorry, I can't reproduce the issue. I set interactive to false in altstars.html and it renders just fine. Did you change anything else? What OS/Browser did you use?

donjajo commented 3 years ago

This could help, maybe? https://github.com/ofrohn/d3-celestial/issues/105

Since everything works when you resize, trying firing resize event onload