-
- {
- const value = parseFloat(ev.target.value);
- setTransparency(layer, value);
- if (saveTransparency !== undefined) {
- if (this.transparency) {
- clearTimeout(this.transparency);
- this.transparency = false;
- }
- this.transparency = setTimeout(() => {
- saveTransparency(layer, value);
- }, 1000);
- }
- }}
- step="1"
- type="range"
- value={layer.transparency}
- />
-
-
-
-
-
-