diff --git a/frontend/src/lib/components/SettingsPanel.svelte b/frontend/src/lib/components/SettingsPanel.svelte index 0b874a6..d6bd3e4 100644 --- a/frontend/src/lib/components/SettingsPanel.svelte +++ b/frontend/src/lib/components/SettingsPanel.svelte @@ -340,71 +340,6 @@ {/if} - -
-
- Final Image Composition -
-
- -
- - {(config.processing.alignment.eye_distance * 100).toFixed(0)}% -
- -
-
-
-
- - {:else if activeTab === 'output'} -
-
- -
- - {config.processing.output.size}px -
-
- -
- -
- - {config.processing.max_workers} -
-
-
+
+ {:else if activeTab === 'output'} +
+
+
+ +
+ + {config.processing.output.size}px +
+
+ +
+ +
+ + {config.processing.max_workers} +
+
+
+
@@ -500,6 +476,33 @@
{/if}
+ + +
+
+ Final Image Composition +
+
+ +
+ + {(config.processing.alignment.eye_distance * 100).toFixed(0)}% +
+ +
+
+
+
{:else if activeTab === 'video'}
diff --git a/src/config.rs b/src/config.rs index 0e18e90..2e5309d 100644 --- a/src/config.rs +++ b/src/config.rs @@ -371,9 +371,9 @@ impl AlignmentConfig { "Alignment eye_distance must be between 0.0 and 1.0 (exclusive)".to_string(), )); } - if self.eye_distance < 0.1 || self.eye_distance > 0.5 { + if self.eye_distance < 0.05 || self.eye_distance > 0.4 { return Err(Error::Config( - "Alignment eye_distance should be between 0.1 and 0.5 for best results".to_string(), + "Alignment eye_distance should be between 0.05 and 0.4 for best results".to_string(), )); } Ok(())