mirror of
https://github.com/cpvalente/ontime.git
synced 2026-09-10 08:39:34 +00:00
refactor: review event entry
This commit is contained in:
committed by
Carlos Valente
parent
8728c1450b
commit
4365c19498
@@ -271,6 +271,13 @@ export default function Rundown({ data }: RundownProps) {
|
|||||||
],
|
],
|
||||||
['alt + shift + D', () => insertAtId({ type: SupportedEntry.Delay }, cursor, true), { preventDefault: true }],
|
['alt + shift + D', () => insertAtId({ type: SupportedEntry.Delay }, cursor, true), { preventDefault: true }],
|
||||||
|
|
||||||
|
[
|
||||||
|
'alt + M',
|
||||||
|
() => insertAtId({ type: SupportedEntry.Milestone }, cursor),
|
||||||
|
{ preventDefault: true, usePhysicalKeys: true },
|
||||||
|
],
|
||||||
|
['alt + shift + M', () => insertAtId({ type: SupportedEntry.Milestone }, cursor, true), { preventDefault: true }],
|
||||||
|
|
||||||
['mod + C', () => setEntryCopyId(cursor)],
|
['mod + C', () => setEntryCopyId(cursor)],
|
||||||
['mod + V', () => insertCopyAtId(cursor, entryCopyId)],
|
['mod + V', () => insertCopyAtId(cursor, entryCopyId)],
|
||||||
['mod + shift + V', () => insertCopyAtId(cursor, entryCopyId, true), { preventDefault: true }],
|
['mod + shift + V', () => insertCopyAtId(cursor, entryCopyId, true), { preventDefault: true }],
|
||||||
|
|||||||
@@ -140,9 +140,27 @@ function EventEditorEmpty() {
|
|||||||
<AuxKey>+</AuxKey>
|
<AuxKey>+</AuxKey>
|
||||||
<Kbd>Shift</Kbd>
|
<Kbd>Shift</Kbd>
|
||||||
<AuxKey>+</AuxKey>
|
<AuxKey>+</AuxKey>
|
||||||
|
<Kbd>M</Kbd>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Add milestone below</td>
|
||||||
|
<td>
|
||||||
|
<Kbd>{deviceAlt}</Kbd>
|
||||||
|
<AuxKey>+</AuxKey>
|
||||||
<Kbd>G</Kbd>
|
<Kbd>G</Kbd>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Add milestone above</td>
|
||||||
|
<td>
|
||||||
|
<Kbd>{deviceAlt}</Kbd>
|
||||||
|
<AuxKey>+</AuxKey>
|
||||||
|
<Kbd>Shift</Kbd>
|
||||||
|
<AuxKey>+</AuxKey>
|
||||||
|
<Kbd>M</Kbd>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Add delay below</td>
|
<td>Add delay below</td>
|
||||||
<td>
|
<td>
|
||||||
|
|||||||
Reference in New Issue
Block a user