You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
should probably expose a 'mouseup' event on the slider button for easy use, as you probably want to run some code once the slider is set.
happy to contribute this, but don't want to start doing a lot of pull requests while I know a lot of uncommitted code is out there waiting to be merged.
The text was updated successfully, but these errors were encountered:
(awaitvrgc.getElement('#command-brightness-slider')).addEventListener('mouseup',asyncfunction(el){constnewPercent=(awaitvrgc.getElement('#command-brightness-slider')).components['gui-slider'].data.percent;(awaitvrgc.getElement('[light]')).setAttribute('light','intensity',newPercent*3);// treating 3 as 100%})
should probably expose a 'mouseup' event on the slider button for easy use, as you probably want to run some code once the slider is set.
happy to contribute this, but don't want to start doing a lot of pull requests while I know a lot of uncommitted code is out there waiting to be merged.
The text was updated successfully, but these errors were encountered: