mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-22 18:32:34 +01:00
improve key list
This commit is contained in:
parent
14ae45780b
commit
1a59be3e75
@ -97,7 +97,7 @@ const CreateBinding = memo(({
|
||||
);
|
||||
});
|
||||
|
||||
const rowStyle = { display: 'flex', alignItems: 'flex-start', margin: '6px 0' };
|
||||
const rowStyle = { display: 'flex', alignItems: 'center', margin: '6px 0' };
|
||||
|
||||
const KeyboardShortcuts = memo(({
|
||||
keyBindings, setKeyBindings, currentCutSeg,
|
||||
@ -434,6 +434,8 @@ const KeyboardShortcuts = memo(({
|
||||
<IconButton title={t('Remove key binding')} appearance="minimal" intent="danger" icon={DeleteIcon} onClick={() => onDeleteBindingClick({ action, keys })} />
|
||||
</div>
|
||||
))}
|
||||
|
||||
{bindingsForThisAction.length === 0 && <Text color="muted">{t('No binding')}</Text>}
|
||||
</div>
|
||||
|
||||
<IconButton title={t('Bind new key to action')} appearance="minimal" intent="success" icon={AddIcon} onClick={() => onAddBindingClick(action)} />
|
||||
|
Loading…
Reference in New Issue
Block a user