Version 1.0 Release

This commit is contained in:
markfulton
2025-08-31 23:42:08 +07:00
parent 5de7d56c45
commit 98797b9385
26 changed files with 2718 additions and 8 deletions

View File

@@ -0,0 +1,36 @@
import React from 'react';
import { useAppStore } from '../store/useAppStore';
export const MaskOverlay: React.FC = () => {
const { selectedMask, showMasks } = useAppStore();
if (!showMasks || !selectedMask) return null;
return (
<div className="absolute inset-0 pointer-events-none">
{/* Marching ants effect */}
<div
className="absolute border-2 border-yellow-400 animate-pulse"
style={{
left: selectedMask.bounds.x,
top: selectedMask.bounds.y,
width: selectedMask.bounds.width,
height: selectedMask.bounds.height,
borderStyle: 'dashed',
animationDuration: '1s'
}}
/>
{/* Mask overlay */}
<div
className="absolute bg-yellow-400/20"
style={{
left: selectedMask.bounds.x,
top: selectedMask.bounds.y,
width: selectedMask.bounds.width,
height: selectedMask.bounds.height,
}}
/>
</div>
);
};