File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
packages/webui/src/client Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,7 @@ export function UserEditsCloseIcon(): JSX.Element {
1616 < svg width = "25" height = "28" viewBox = "0 0 25 28" fill = "none" xmlns = "http://www.w3.org/2000/svg" >
1717 < path
1818 d = "M11 0C14 0 16 2.5 16 5H20V9C22.5 9 25 11.5 25 14C25 16.5 22.5 19 20 19V23H16C16 25.5 13.5 28 11 28C7.5 28 6 25.5 6 23H0V17H2C3.5 17 5 15.5 5 14C5 12.5 3.5 11 2 11H0V5H6C6 2.5 8 0 11 0ZM11 2C9 2 8 3.80859 8 5V7H2V9C4.5 9 7 11.5 7 14C7 16.5 4.5 19 2 19V21H8V23C8 24.5 9.5 26 11 26C12.5 26 14 24.5 14 23V21H18V17H20C21.5 17 23 15.5 23 14C23 12.5 21.5 11 20 11H18V7H14V5C14 3.80859 13 2 11 2Z"
19- fill = "black"
20- />
21- < path
22- d = "M17.8 5.6L19.4 7.2L13.6 14L19.4 20.8L17.8 22.4L12 15.6L6.2 22.4L4.6 20.8L10.4 14L4.6 7.2L6.2 5.6L12 12.4L17.8 5.6Z"
23- fill = "white"
19+ fill = "grey"
2420 />
2521 </ svg >
2622 )
Original file line number Diff line number Diff line change @@ -158,7 +158,12 @@ export function RundownRightHandControls(props: Readonly<IProps>): JSX.Element {
158158 />
159159 < SelectedElementsContext . Consumer >
160160 { ( context ) => (
161- < button onClick = { ( ) => context . clearSelections ( ) } className = "status-bar__controls__button" >
161+ < button
162+ onClick = { ( ) => context . clearSelections ( ) }
163+ className = { classNames ( 'status-bar__controls__button' , {
164+ 'status-bar__controls__button--open' : context . listSelectedElements ( ) . length > 0 ,
165+ } ) }
166+ >
162167 { context . listSelectedElements ( ) . length === 0 ? < UserEditsIcon /> : < UserEditsCloseIcon /> }
163168 </ button >
164169 ) }
You can’t perform that action at this time.
0 commit comments