This commit is contained in:
ct
2025-06-16 16:40:05 +08:00
parent 9a81d90bfb
commit ff981ea9f0

View File

@@ -551,19 +551,6 @@ const VideoPreview = ({
/>
</Layer>
</Stage>
{/* Selection info panel with snapping info */}
{selectedElementId && (
<div className="absolute top-4 left-4 rounded-lg bg-white p-3 text-sm shadow-lg">
<div className="font-medium text-gray-700">Selected: {selectedElementId}</div>
<div className="mt-1 space-y-1 text-xs text-gray-500">
<div> Drag to move Corner handles to resize Rotate handle to rotate</div>
<div> Hold Shift while scaling to maintain aspect ratio</div>
<div> Native Konva rotation snapping (0°, 90°, 180°, 270°)</div>
<div> Automatic center alignment with guide lines</div>
</div>
</div>
)}
</div>
);
};