mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-17 21:24:11 +00:00
feat: public events
This commit is contained in:
@@ -91,14 +91,20 @@
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.next {
|
||||
color: #4bffabcc;
|
||||
.next,
|
||||
.nextDisabled {
|
||||
width: max-content;
|
||||
padding: 0 0.2em;
|
||||
}
|
||||
|
||||
.next {
|
||||
color: #4bffabcc;
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.nextDisabled {
|
||||
color: rgba(255, 255, 255, 0.17);
|
||||
color: rgba(255, 255, 255, 0.07);
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.delayValue {
|
||||
|
||||
@@ -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