also add 32:9 button

This commit is contained in:
Tamius Han 2023-03-30 00:49:09 +02:00
parent b22d50f760
commit e12154601b
2 changed files with 17 additions and 0 deletions

View File

@ -243,6 +243,15 @@ const ExtensionConfPatch = [
onKeyDown: false,
}
});
userOptions.commands.crop.push({
action: 'set-ar',
label: '32:9',
comment: 'Crop for 32:9 aspect ratio',
arguments: {
type: AspectRatioType.Fixed,
ratio: 3.56
},
})
}
}
];

View File

@ -302,6 +302,14 @@ const ExtensionConf: SettingsInterface = {
onKeyUp: false,
onKeyDown: true,
}
}, {
action: 'set-ar',
label: '32:9',
comment: 'Crop for 32:9 aspect ratio',
arguments: {
type: AspectRatioType.Fixed,
ratio: 3.56
},
}],
stretch: [{
action: 'set-stretch',