HEnquist / camillagui

GNU General Public License v3.0
9 stars 1 forks source link

Switching to compact mode and back breaks logo and icon #60

Closed HEnquist closed 2 years ago

HEnquist commented 2 years ago

This only happens when running the gui served via the backend, not when using the node development server. Normally the logo is loaded from http://localhost:5000/gui/static/media/camilladsp.95719842.svg After swithing to compact mode and back, it instead tries to load the logo from http://localhost:5000/static/media/camilladsp.95719842.svg (note that "gui/" went missing).

This fiddling with the history seems a bit odd, can we do the switch differently? https://github.com/HEnquist/camillagui/blob/master/src/compactview.tsx#L15

HEnquist commented 2 years ago

Ping @JWahle

HEnquist commented 2 years ago

Fixed by https://github.com/HEnquist/camillagui/pull/61

JWahle commented 2 years ago

This fixes it for me.