mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-17 21:24:11 +00:00
v2 styling (#263)
* feat: implement progress bar on running event * refactor: use event action hook * refactor: align backend data * style: v2 style tweaks * style: v2 style tweaks + ts <Info> * fix: fix delay increment calls * style: v2 style tweaks + ts <Playback> * style: v2 style tweaks + ts <EventEditor> * style: v2 style tweaks + ts <MessageControl> * fix: naming issue with message control socket endpoint * chore: upgrade style dependencies * style: v2 style tweaks + ts <MenuBar> * style: v2 style tweaks + ts <RundownMenu> * style: v2 style tweaks + ts <Playback> * fix: add selected and next information to EventTimer * style: v2 style tweaks + ts <EventBlock> * style: v2 style tweaks + ts <DelayBlock> * style: v2 style tweaks + ts <BlockBlock> * style: v2 style tweaks + ts <QuickEntry> * refactor: extract <TextInput> logic * chore: upgrade build dependencies * chore: folder structure refactor * fix: issue with dependency path in electron * chore: update version in demo db
This commit is contained in:
@@ -59,7 +59,7 @@ export default function PlaybackTimer(props: PlaybackTimerProps) {
|
||||
</>
|
||||
)}
|
||||
<div className={style.btn}>
|
||||
<Tooltip label='Remove 1 minute' openDelay={tooltipDelayMid}
|
||||
<Tooltip label='Remove 5 minutes' openDelay={tooltipDelayMid}
|
||||
shouldWrapChildren={disableButtons}>
|
||||
<TapButton
|
||||
onClick={() => setPlayback.delay(-5)}
|
||||
@@ -68,33 +68,33 @@ export default function PlaybackTimer(props: PlaybackTimerProps) {
|
||||
-5
|
||||
</TapButton>
|
||||
</Tooltip>
|
||||
<Tooltip label='Add 5 minutes' openDelay={tooltipDelayMid}
|
||||
shouldWrapChildren={disableButtons}>
|
||||
<TapButton
|
||||
onClick={() => setPlayback.delay(+5)}
|
||||
disabled={disableButtons}
|
||||
square>
|
||||
5
|
||||
</TapButton>
|
||||
</Tooltip>
|
||||
<Tooltip label='Remove 1 minute' openDelay={tooltipDelayMid}
|
||||
shouldWrapChildren={disableButtons}>
|
||||
<TapButton
|
||||
onClick={() => setPlayback.delay(-5)}
|
||||
onClick={() => setPlayback.delay(-1)}
|
||||
disabled={disableButtons}
|
||||
square>
|
||||
-1
|
||||
</TapButton>
|
||||
</Tooltip>
|
||||
<Tooltip label='Remove 1 minute' openDelay={tooltipDelayMid}
|
||||
<Tooltip label='Add 1 minute' openDelay={tooltipDelayMid}
|
||||
shouldWrapChildren={disableButtons}>
|
||||
<TapButton
|
||||
onClick={() => setPlayback.delay(-5)}
|
||||
onClick={() => setPlayback.delay(1)}
|
||||
disabled={disableButtons}
|
||||
square>
|
||||
1
|
||||
</TapButton>
|
||||
</Tooltip>
|
||||
<Tooltip label='Remove 1 minute' openDelay={tooltipDelayMid}
|
||||
shouldWrapChildren={disableButtons}>
|
||||
<TapButton
|
||||
onClick={() => setPlayback.delay(-5)}
|
||||
disabled={disableButtons}
|
||||
square>
|
||||
5
|
||||
</TapButton>
|
||||
</Tooltip>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user