I've added a "speed divider" slider on the options page.
This was to match the old speed divider logic of the main branch's verison.
Note: this PR changes the use-chrome-storage dependency to my own @eamonwoortman/chrome-use-storage dependency as I had to fix an issue with storage states returning undefined when the storage was cleared.
This also changes the storage state keys (ie. shaderlist, shadername) to be prefixed to either the state or the settings.
So for example; shaderlist becomes state.shaderlist and speeddivider becomes settings.speeddivider.
We do this so we can easily remove/reset a group of storage elements without hardcoding their keys.
I've added a "speed divider" slider on the options page. This was to match the old speed divider logic of the main branch's verison.
Note: this PR changes the
use-chrome-storage
dependency to my own@eamonwoortman/chrome-use-storage
dependency as I had to fix an issue with storage states returningundefined
when the storage was cleared.This also changes the storage state keys (ie.
shaderlist
,shadername
) to be prefixed to either the state or the settings. So for example;shaderlist
becomesstate.shaderlist
andspeeddivider
becomessettings.speeddivider
. We do this so we can easily remove/reset a group of storage elements without hardcoding their keys.