UX tweak
This commit is contained in:
parent
dfb1a6ff01
commit
2ad093d3e3
2 changed files with 3 additions and 2 deletions
|
@ -177,7 +177,7 @@ const Playhead: React.FC<{layoutP: Pointer<SequenceEditorPanelLayout>}> = ({
|
||||||
style={{transform: `translate3d(${posInClippedSpace}px, 0, 0)`}}
|
style={{transform: `translate3d(${posInClippedSpace}px, 0, 0)`}}
|
||||||
>
|
>
|
||||||
<Thumb ref={thumbRef as $IntentionalAny}>
|
<Thumb ref={thumbRef as $IntentionalAny}>
|
||||||
<RoomToClick room={4} />
|
<RoomToClick room={8} />
|
||||||
<Squinch />
|
<Squinch />
|
||||||
<Tooltip>
|
<Tooltip>
|
||||||
{sequence.positionFormatter.formatForPlayhead(
|
{sequence.positionFormatter.formatForPlayhead(
|
||||||
|
|
|
@ -2,7 +2,8 @@ import React from 'react'
|
||||||
import styled from 'styled-components'
|
import styled from 'styled-components'
|
||||||
|
|
||||||
const Container = styled.div<{room: number}>`
|
const Container = styled.div<{room: number}>`
|
||||||
position: absolute calc(${(props) => props.room} * -1);
|
position: absolute;
|
||||||
|
inset: ${(props) => props.room * -1}px;
|
||||||
`
|
`
|
||||||
|
|
||||||
const RoomToClick: React.FC<{room: number}> = (props) => {
|
const RoomToClick: React.FC<{room: number}> = (props) => {
|
||||||
|
|
Loading…
Reference in a new issue