Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Reqest] Show Scene On Top - URL String #133

Open
BenJamesAndo opened this issue Nov 1, 2022 · 2 comments
Open

[Feature Reqest] Show Scene On Top - URL String #133

BenJamesAndo opened this issue Nov 1, 2022 · 2 comments

Comments

@BenJamesAndo
Copy link

Hello. I really like this project, and I also prefer to show the scene on top. Would it be possible to have scene on top as part of the URL, that way I can bookmark it and don't have to keep clicking the button each time I open the link? Maybe something like ?sceneontop=true

@Niek
Copy link
Owner

Niek commented Nov 1, 2022

I see what you mean, but if we start doing that we might have to put more and more settings in the URL. I think it's better to write such preferences to localStorage, similar to the icon mode:

obs-web/src/App.svelte

Lines 94 to 96 in 4fdf433

$: isIconMode
? window.localStorage.setItem('isIconMode', 'true')
: window.localStorage.removeItem('isIconMode')

@BenJamesAndo
Copy link
Author

Actually yeah, localStorage sounds good. I'd be keen for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants