hydra-synth / hydra

Livecoding networked visuals in the browser
https://hydra.ojack.xyz
GNU Affero General Public License v3.0
2.17k stars 264 forks source link

Fix "showCode" URL parameter #241

Open ojack opened 1 year ago

ojack commented 1 year ago

adding "showCode=false" to the URL should open the sketch with no code visible

also:

finfinxo commented 1 year ago

Hey, I'm happy to try and implement this! Should the menu bar and console be hidden as well I assume?

ojack commented 1 year ago

That's great! yes they should :)

ojack commented 1 year ago

I think it would make most sense to add this in the gallery.js file

https://github.com/hydra-synth/hydra/blob/bb29d959f8a95a9966867db691c0e6b343254ffd/frontend/web-editor/src/stores/gallery.js#L43

finfinxo commented 1 year ago

Hey, I've given this a go and it seems to work for me. :) #251