ofrohn / d3-celestial

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

Interactive:false rendering issue #101

Open ygor opened 4 years ago

ygor commented 4 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 4 years ago

did you try the redraw method ?

ofrohn commented 4 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 4 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