Sanitize cursorWidth option
This commit is contained in:
@@ -127,6 +127,7 @@ export class OptionsService implements IOptionsService {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'fastScrollSensitivity':
|
case 'fastScrollSensitivity':
|
||||||
|
case 'cursorWidth':
|
||||||
case 'scrollSensitivity':
|
case 'scrollSensitivity':
|
||||||
if (value <= 0) {
|
if (value <= 0) {
|
||||||
throw new Error(`${key} cannot be less than or equal to 0, value: ${value}`);
|
throw new Error(`${key} cannot be less than or equal to 0, value: ${value}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user