Skip to content

Small fixes for options & localStorage#33

Draft
murhum1 wants to merge 1 commit intoJohn-Paul-R:masterfrom
murhum1:master
Draft

Small fixes for options & localStorage#33
murhum1 wants to merge 1 commit intoJohn-Paul-R:masterfrom
murhum1:master

Conversation

@murhum1
Copy link

@murhum1 murhum1 commented Oct 7, 2020

Option sliders weren't working on Firefox and I was only able to change options by clicking outside the sliders themselves, which seemed a bit silly. PR should fix this and only allow changing options by clicking on the slider itself, instead of the whole <li> element. If desired, could instead make the whole <li> element have cursor: pointer css. Tested to work on Firefox and Chrome.

Also removed debouncing on localStorage saves, as it's fast anyway and shouldn't need to be debounced. The debounce function from util.js also didn't seem to work on Firefox, while it worked fine on Chrome for some reason, but I didn't check any further.

…ursor; remove debounce on localStorage saves, as it is fast anyway
@John-Paul-R
Copy link
Owner

I think making the whole <li> element have cursor: pointer would be preferred, if only to make them more easily clickable.

I'll look into possible reasons for the debounce bug on Firefox.

Thanks for the fixes! I will merge after the small <li>/slider change is added

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

Successfully merging this pull request may close these issues.

2 participants