Skip to content

Commit 1ec42eb

Browse files
committed
Remove background color on canvas if canvas is dragged over, as this didn't look right when canvas was zoomed out
1 parent 4eebc53 commit 1ec42eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/components/main/Canvas.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ const Canvas = forwardRef<HTMLDivElement, CanvasProps>(({ zoom }, ref) => {
288288
const defaultCanvasStyle: React.CSSProperties = {
289289
width: '100%',
290290
minHeight: '100%',
291-
backgroundColor: isOver ? '#242323' : '#191919',
291+
// backgroundColor: isOver ? '#242323' : '#191919',
292292
aspectRatio: 'auto 774 / 1200',
293293
boxSizing: 'border-box',
294294
transform: `scale(${zoom})`,

0 commit comments

Comments
 (0)