1
0
Fork 0

fix(gui): align background image when it is larger than canvas

This commit is contained in:
Sean Sube 2023-01-19 19:59:35 -06:00
parent 4a3bb97342
commit 99982c6a19
1 changed files with 1 additions and 0 deletions

View File

@ -175,6 +175,7 @@ export function MaskCanvas(props: MaskCanvasProps) {
const styles: React.CSSProperties = {
backgroundPosition: 'top left',
backgroundRepeat: 'no-repeat',
backgroundSize: 'contain',
border: '1px solid black',
maxHeight: params.height.default,
maxWidth: params.width.default,