diff --git a/src/components/object-position-control.tsx b/src/components/object-position-control.tsx
index 05f7acc..d67cee1 100644
--- a/src/components/object-position-control.tsx
+++ b/src/components/object-position-control.tsx
@@ -22,15 +22,11 @@ const positions: Position[] = [
interface ObjectPositionControlProps {
value: string;
onChange: (value: Position) => void;
- disabled?: boolean;
}
-export function ObjectPositionControl({ value, onChange, disabled = false }: ObjectPositionControlProps) {
+export function ObjectPositionControl({ value, onChange }: ObjectPositionControlProps) {
return (
-
+
{positions.map((pos) => (
-
{ onSettingsChange({ height: e.target.value, aspectRatio: 'custom' }) }} disabled={disabled} />
+
{ onSettingsChange({ height: e.target.value, aspectRatio: 'custom' }) }} />
-
onSettingsChange({ keepOrientation: Boolean(checked) })} disabled={disabled} />
-
-