Прозрачным аватаркам добавлена подложка

This commit is contained in:
RoyceDa
2026-02-26 12:19:30 +02:00
parent 88369171b6
commit a431b23476
5 changed files with 5 additions and 4 deletions

View File

@@ -149,6 +149,7 @@ export function ImageViewer(props : ImageViewerProps) {
userSelect: 'none',
cursor: isDragging ? 'grabbing' : 'grab',
transformOrigin: '0 0',
background: '#FFF',
transform: `translate(${pos.x}px, ${pos.y}px) scale(${pos.scale})`,
}}
onWheel={onWheel}