|
|
@@ -147,19 +147,6 @@ const InvertContrastModal: React.FC = () => {
|
|
|
flexDirection: 'column',
|
|
|
backgroundColor: '#000'
|
|
|
}}>
|
|
|
- <div style={{
|
|
|
- position: 'absolute',
|
|
|
- top: 8,
|
|
|
- left: 8,
|
|
|
- zIndex: 10,
|
|
|
- background: 'rgba(0,0,0,0.7)',
|
|
|
- color: '#fff',
|
|
|
- padding: '4px 8px',
|
|
|
- borderRadius: '4px',
|
|
|
- fontSize: '14px'
|
|
|
- }}>
|
|
|
- {selectedPositions.length > 1 ? '原图' : '对比图'}
|
|
|
- </div>
|
|
|
{leftImageUrl && (
|
|
|
<div style={{ flex: 1, overflow: 'hidden' }}>
|
|
|
<StackViewerWithErrorBoundary
|
|
|
@@ -181,19 +168,6 @@ const InvertContrastModal: React.FC = () => {
|
|
|
flexDirection: 'column',
|
|
|
backgroundColor: '#000'
|
|
|
}}>
|
|
|
- <div style={{
|
|
|
- position: 'absolute',
|
|
|
- top: 8,
|
|
|
- left: 8,
|
|
|
- zIndex: 10,
|
|
|
- background: 'rgba(0,0,0,0.7)',
|
|
|
- color: '#fff',
|
|
|
- padding: '4px 8px',
|
|
|
- borderRadius: '4px',
|
|
|
- fontSize: '14px'
|
|
|
- }}>
|
|
|
- 反色图
|
|
|
- </div>
|
|
|
{rightImageUrl && (
|
|
|
<div style={{ flex: 1, overflow: 'hidden' }}>
|
|
|
<StackViewerWithErrorBoundary
|