Delete old scanning options during update (#851)

This commit is contained in:
toasted-nutbread 2020-09-20 11:30:38 -04:00 committed by GitHub
parent 07c95c56ba
commit edda4778ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -532,6 +532,8 @@ class OptionsUtil {
profileOptions.scanning.pointerEventsEnabled = false;
const {modifier, middleMouse} = profileOptions.scanning;
delete profileOptions.scanning.modifier;
delete profileOptions.scanning.middleMouse;
const scanningInputs = [];
let modifierInput = '';
switch (modifier) {