mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-20 14:39:06 +00:00
feat: table mode in editor
This commit is contained in:
committed by
Carlos Valente
parent
e5c5ec18d3
commit
0de55e74a8
+11
@@ -15,3 +15,14 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.delayRowHidden {
|
||||
visibility: hidden;
|
||||
|
||||
td {
|
||||
padding: 0;
|
||||
height: 1px;
|
||||
line-height: 1px;
|
||||
font-size: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,7 +14,16 @@ function DelayRow({ duration, injectedStyles, ...virtuosoProps }: DelayRowProps)
|
||||
const hideDelays = usePersistedCuesheetOptions((state) => state.hideDelays);
|
||||
|
||||
if (hideDelays || duration === 0) {
|
||||
return null;
|
||||
return (
|
||||
<tr
|
||||
className={`${style.delayRow} ${style.delayRowHidden}`}
|
||||
data-testid='cuesheet-delay-hidden'
|
||||
style={injectedStyles}
|
||||
{...virtuosoProps}
|
||||
>
|
||||
<td />
|
||||
</tr>
|
||||
);
|
||||
}
|
||||
|
||||
const delayTime = millisToDelayString(duration, 'expanded');
|
||||
|
||||
Reference in New Issue
Block a user