diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml deleted file mode 100644 index feb83e8..0000000 --- a/.github/workflows/docker-image.yml +++ /dev/null @@ -1,43 +0,0 @@ -# name: Build and Publish image to Docker Hub -# on: -# push: -# branches: -# - master -# tags: -# - 'v*' - -# jobs: -# publish_images: -# runs-on: ubuntu-latest -# steps: -# - name: checkout -# uses: actions/checkout@v4 - -# - name: Extract metadata (tags, labels) for Docker -# id: meta -# uses: docker/metadata-action@v5 -# with: -# images: arnaudcayrol/immich-selfie-timelapse -# tags: | -# type=ref,event=branch -# type=ref,event=tag -# type=semver,pattern={{version}} -# type=semver,pattern={{major}}.{{minor}} -# type=raw,value=latest,enable={{is_default_branch}} - -# - name: Set up Docker Buildx -# uses: docker/setup-buildx-action@v3 - -# - name: Login to Docker Hub -# uses: docker/login-action@v3 -# with: -# username: arnaudcayrol -# password: ${{ secrets.DOCKERHUB_TOKEN }} - -# - name: Build and push -# uses: docker/build-push-action@v5 -# with: -# context: . -# push: true -# tags: ${{ steps.meta.outputs.tags }} -# labels: ${{ steps.meta.outputs.labels }} diff --git a/frontend/src/lib/components/SettingsPanel.svelte b/frontend/src/lib/components/SettingsPanel.svelte index 7a3d8a1..74e3ced 100644 --- a/frontend/src/lib/components/SettingsPanel.svelte +++ b/frontend/src/lib/components/SettingsPanel.svelte @@ -3,6 +3,7 @@ import { DEFAULT_CONFIG, TIMING } from '../constants.js'; import { handleError } from '../errorHandler.js'; import EyeIndicator from './visual/EyeIndicator.svelte'; + import AlignmentIndicator from './visual/AlignmentIndicator.svelte'; let { disabled = false } = $props(); @@ -314,17 +315,12 @@
-
- Face Alignment - Always enabled -
-
-
+
{(config.processing.alignment.eye_distance * 100).toFixed(0)}% +
+ +
@@ -740,11 +739,11 @@ display: flex; align-items: center; justify-content: center; - padding: 0.25rem 0.5rem; + padding: 0.5rem; background: #0f0f0f; border: 1px solid #333; border-radius: 6px; - min-width: 60px; - height: 32px; + width: 96px; + height: 96px; } diff --git a/frontend/src/lib/components/visual/AlignmentIndicator.svelte b/frontend/src/lib/components/visual/AlignmentIndicator.svelte new file mode 100644 index 0000000..e46caba --- /dev/null +++ b/frontend/src/lib/components/visual/AlignmentIndicator.svelte @@ -0,0 +1,137 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/frontend/src/lib/components/visual/EyeIndicator.svelte b/frontend/src/lib/components/visual/EyeIndicator.svelte index 4c2ee66..0058dfd 100644 --- a/frontend/src/lib/components/visual/EyeIndicator.svelte +++ b/frontend/src/lib/components/visual/EyeIndicator.svelte @@ -19,9 +19,7 @@ // Calculate eye height based on openness const eyeHeight = $derived(minEyeHeight + normalizedOpenness * (maxEyeHeight - minEyeHeight)); - - const irisRadius = 12; - const pupilRadius = 3; + const pupilRadius = 2; // Create almond-shaped eye outline using a path // The path creates a pointed eye shape (yes, this is a Skyrim reference.) @@ -60,7 +58,7 @@