Show controls by default
This commit is contained in:
parent
09e2c95651
commit
85bbeda9ae
|
@ -128,7 +128,7 @@ templ Overlay(lnurl string, lnaddr string) {
|
|||
}
|
||||
|
||||
const params = new URLSearchParams(window.location.search)
|
||||
if (params.has("config", 1)) {
|
||||
if (!params.has("stream", 1) && (!params.has("config") || params.has("config", 1))) {
|
||||
showControls()
|
||||
}
|
||||
|
||||
|
@ -212,7 +212,7 @@ templ Overlay(lnurl string, lnaddr string) {
|
|||
})
|
||||
|
||||
function updateStreamUrl() {
|
||||
const params = new URLSearchParams();
|
||||
const params = new URLSearchParams({ stream: 1 });
|
||||
const [qrX,qrY] = localStorage.getItem('qr-position')?.split(',').map(Number) ?? [0,0];
|
||||
params.set("qrX", qrX);
|
||||
params.set("qrY", qrY);
|
||||
|
|
Loading…
Reference in New Issue