mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-19 14:14:17 +00:00
feat: public events
This commit is contained in:
@@ -40,11 +40,6 @@ export default function EventList(props) {
|
||||
if (cursor == null) return;
|
||||
eventsHandler('add', { type: 'block', order: cursor + 1 });
|
||||
},
|
||||
'Alt+KeyN': (event) => {
|
||||
event.preventDefault();
|
||||
if (cursor == null) return;
|
||||
if (events[cursor].type === 'event') setNext(cursor);
|
||||
},
|
||||
});
|
||||
if (cursor > events.length - 1) setCursor(events.length - 1);
|
||||
return () => {
|
||||
|
||||
Reference in New Issue
Block a user