X-Git-Url: https://git.r.bdr.sh/rbdr/lissajous/blobdiff_plain/362f91160b243453578633e3f9af67ce40179d8c..HEAD:/lib/systems/global_adjuster.js?ds=inline diff --git a/lib/systems/global_adjuster.js b/lib/systems/global_adjuster.js index 7f6df91..c1c188d 100644 --- a/lib/systems/global_adjuster.js +++ b/lib/systems/global_adjuster.js @@ -2,6 +2,9 @@ import { System } from '@serpentity/serpentity'; import Frequent from '../nodes/configurable'; import { settingsContainer, slider } from '../factories/ui'; +/** + * UI that adjusts global configuration settings for the scene. + */ export default class GlobalAdjuster extends System { constructor(container) { @@ -28,9 +31,10 @@ export default class GlobalAdjuster extends System { }); nodeElement.appendChild(slider({ + id: `global-adjuster-${i}-slider`, min: '5', - max: '2000', - step: '1', + max: '1000', + step: '5', label: '𝜆', className: 'lineLength', get: () => node.configuration.lineLength.toString(),