This repository was archived by the owner on Apr 18, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed
src/components/SidePanels/OutlinerPanel Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import { Tooltip } from '../../../common/Tooltip/Tooltip';
99import Registry from '../../../core/Registry' ;
1010import { PER_REGION_MODES } from '../../../mixins/PerRegionModes' ;
1111import { Block , cn , Elem } from '../../../utils/bem' ;
12- import { FF_DEV_2755 , isFF } from '../../../utils/feature-flags' ;
12+ import { FF_DEV_2755 , FF_DEV_3873 , isFF } from '../../../utils/feature-flags' ;
1313import { flatten , isDefined , isMacOS } from '../../../utils/utilities' ;
1414import { NodeIcon } from '../../Node/Node' ;
1515import { LockButton } from '../Components/LockButton' ;
@@ -402,7 +402,7 @@ const RegionControls: FC<RegionControlsProps> = observer(({
402402 } , [ ] ) ;
403403
404404 return (
405- < Elem name = "controls" mod = { { withControls : hasControls } } >
405+ < Elem name = "controls" mod = { { withControls : hasControls , newUI : isFF ( FF_DEV_3873 ) } } >
406406 < Elem name = "control" mod = { { type : 'score' } } >
407407 { isDefined ( item ?. score ) && item . score . toFixed ( 2 ) }
408408 </ Elem >
Original file line number Diff line number Diff line change 124124 justify-content center
125125 grid-template-columns repeat (5 , 32px )
126126
127+ & _newUI
128+ display grid
129+
130+ .outliner-item__control_type_dirty
131+ display none
132+
133+ .outliner-item__control_type_lock
134+ display none
135+
136+ & :hover
137+ .outliner-item__control_type_lock
138+ display flex
139+
127140 & _withControls
128141 grid-template-columns repeat (6 , 32px )
129142
You can’t perform that action at this time.
0 commit comments