VirtualSky
VirtualSky copied to clipboard
negative option true or false
Hi people, I need a help, in my site I using virtualsky module.
in virtualsky.js file we have options negative: false and transparament: false.
In my code I just added
document.getElementById('fone0').onclick=()=>{ if(document.getElementById('fone0').checked === true){ this.transparent=true; this.negative=true; } this.draw(); }
and second line
In results I have not negative-invert colors :( only constellation lines
second line <input hidden value="spitak" id="fone0" type="radio" checked="checked" name="fone">