|
@ -368,7 +368,8 @@ class ColorPicker { |
|
|
this.opacityRange.min = '0'; |
|
|
this.opacityRange.min = '0'; |
|
|
this.opacityRange.max = '100'; |
|
|
this.opacityRange.max = '100'; |
|
|
} |
|
|
} |
|
|
catch (err) {} |
|
|
|
|
|
|
|
|
// TODO: Add some error handling and remove this lint exception
|
|
|
|
|
|
catch (err) {} // eslint-disable-line no-empty
|
|
|
this.opacityRange.value = '100'; |
|
|
this.opacityRange.value = '100'; |
|
|
this.opacityRange.className = 'vis-range'; |
|
|
this.opacityRange.className = 'vis-range'; |
|
|
|
|
|
|
|
@ -378,7 +379,8 @@ class ColorPicker { |
|
|
this.brightnessRange.min = '0'; |
|
|
this.brightnessRange.min = '0'; |
|
|
this.brightnessRange.max = '100'; |
|
|
this.brightnessRange.max = '100'; |
|
|
} |
|
|
} |
|
|
catch (err) {} |
|
|
|
|
|
|
|
|
// TODO: Add some error handling and remove this lint exception
|
|
|
|
|
|
catch (err) {} // eslint-disable-line no-empty
|
|
|
this.brightnessRange.value = '100'; |
|
|
this.brightnessRange.value = '100'; |
|
|
this.brightnessRange.className = 'vis-range'; |
|
|
this.brightnessRange.className = 'vis-range'; |
|
|
|
|
|
|
|
|