From e2a38c26e0082192e74e1334d55451a44fa8e530 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 11 Oct 2026 11:40:59 +0000 Subject: [PATCH] Masking: keep mask_overlay's doc comment on mask_overlay (#957 put the eyedropper between them) Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01BKWB9TCnvzJHV6xMLAj2J4 --- crates/ui-egui/src/panels/detail.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/ui-egui/src/panels/detail.rs b/crates/ui-egui/src/panels/detail.rs index 68aa9579..d7e4c8e1 100644 --- a/crates/ui-egui/src/panels/detail.rs +++ b/crates/ui-egui/src/panels/detail.rs @@ -1619,9 +1619,6 @@ fn radial_body_contains(shape: &MaskShape, at: Point, map: &CanvasMap) -> bool { x * x + y * y <= 1.0 } -/// The Masking tool on the photo: outlines and handles of the selected mask, a pin per mask -/// component (click selects its mask, drag moves the component), and brush painting. The mask -/// itself shows as a rendered overlay ([`view_overlay`]). /// Colour Range eyedropper: a click samples the colour under it for the selected mask's /// colour range, at normalized frame coordinates (crop, rotation and zoom aware); /// ⇧-click adds a sample (up to 5). @@ -1637,6 +1634,9 @@ fn color_range_pick(app: &mut LightcraftApp, ui: &egui::Ui, resp: &egui::Respons } } +/// The Masking tool on the photo: outlines and handles of the selected mask, a pin per mask +/// component (click selects its mask, drag moves the component), and brush painting. The mask +/// itself shows as a rendered overlay ([`view_overlay`]). fn mask_overlay(app: &mut LightcraftApp, ui: &mut egui::Ui, resp: &egui::Response, map: &CanvasMap, d: &DevelopSettings) { let tint = { let [r, g, b] = app.ui.mask_overlay_color;