Skip to content

LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust

#323: fix the preview_limit doc comment (largest, not lowest)

Nathaniel Ledford930d14aacd94
diff --git a/crates/ui-egui/src/state.rs b/crates/ui-egui/src/state.rs
index 589d58e67..f7ba3cb6c 100644
--- a/crates/ui-egui/src/state.rs
+++ b/crates/ui-egui/src/state.rs
@@ -140,7 +140,7 @@ pub struct AppSettings {
pub confirm_delete: bool,
/// GPU rendering allowed (`app.gpu`).
pub gpu: bool,
- /// Lowest long edge (pixels) the user lets the loupe render at; 0 = Automatic (the size it is
+ /// Largest long edge (pixels) the user lets the loupe render at; 0 = Automatic (the size it is
/// drawn at, up to the photo's own pixels and [`LOUPE_EDGE_CEILING`]). Not the old
/// `previewEdge` key: its 2560 px default was the soft-image bug (issue #323).
pub preview_limit: u32,