mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-12 16:57:26 +00:00
@@ -170,6 +170,7 @@ export default class Output extends Component<Props, State> {
|
|||||||
ref={linkRef(this, 'pinchZoomLeft')}
|
ref={linkRef(this, 'pinchZoomLeft')}
|
||||||
>
|
>
|
||||||
<canvas
|
<canvas
|
||||||
|
class={style.outputCanvas}
|
||||||
ref={linkRef(this, 'canvasLeft')}
|
ref={linkRef(this, 'canvasLeft')}
|
||||||
width={leftImg.width}
|
width={leftImg.width}
|
||||||
height={leftImg.height}
|
height={leftImg.height}
|
||||||
@@ -182,6 +183,7 @@ export default class Output extends Component<Props, State> {
|
|||||||
</pinch-zoom>
|
</pinch-zoom>
|
||||||
<pinch-zoom ref={linkRef(this, 'pinchZoomRight')}>
|
<pinch-zoom ref={linkRef(this, 'pinchZoomRight')}>
|
||||||
<canvas
|
<canvas
|
||||||
|
class={style.outputCanvas}
|
||||||
ref={linkRef(this, 'canvasRight')}
|
ref={linkRef(this, 'canvasRight')}
|
||||||
width={rightImg.width}
|
width={rightImg.width}
|
||||||
height={rightImg.height}
|
height={rightImg.height}
|
||||||
|
|||||||
@@ -137,3 +137,7 @@ Note: These styles are temporary. They will be replaced before going live.
|
|||||||
border-bottom-right-radius: 0;
|
border-bottom-right-radius: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.output-canvas {
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user