|
@@ -10,7 +10,7 @@ const MAIN_CONTENT_HEIGHT = 945
|
|
|
const MINIMAP_SCALE = 0.045
|
|
const MINIMAP_SCALE = 0.045
|
|
|
|
|
|
|
|
function Graph({ setCurrentNodeIndex }: { setCurrentNodeIndex: (index: number) => void }) {
|
|
function Graph({ setCurrentNodeIndex }: { setCurrentNodeIndex: (index: number) => void }) {
|
|
|
- const { myData } = useSelector((state: RootState) => state.A0Layout)
|
|
|
|
|
|
|
+ const { myData, myLangue } = useSelector((state: RootState) => state.A0Layout)
|
|
|
|
|
|
|
|
const [isDragging, setIsDragging] = useState(false)
|
|
const [isDragging, setIsDragging] = useState(false)
|
|
|
const [zoom, setZoom] = useState(1)
|
|
const [zoom, setZoom] = useState(1)
|
|
@@ -343,11 +343,11 @@ function Graph({ setCurrentNodeIndex }: { setCurrentNodeIndex: (index: number) =
|
|
|
<div className='icon'>
|
|
<div className='icon'>
|
|
|
<img src={require('@/assets/img/A6_gen_normal.png')} draggable='false' alt='' />
|
|
<img src={require('@/assets/img/A6_gen_normal.png')} draggable='false' alt='' />
|
|
|
</div>
|
|
</div>
|
|
|
- <div className='txt'>为勘误之人</div>
|
|
|
|
|
|
|
+ <div className='txt'>{myLangue === 'ZH' ? '为勘误之人' : 'For the correction'}</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div className='t2'>
|
|
<div className='t2'>
|
|
|
<RightLineDash className='t2_rightLine' />
|
|
<RightLineDash className='t2_rightLine' />
|
|
|
- <div className='txt'>为非直系父子关系</div>
|
|
|
|
|
|
|
+ <div className='txt'>{myLangue === 'ZH' ? '为非直系父子关系' : 'For non-direct father-son relationships'}</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div className={styles.miniMap}>
|
|
<div className={styles.miniMap}>
|