From 1033e705c942ac6d26e688a0aaf20dbb99fa7df6 Mon Sep 17 00:00:00 2001 From: zitann2020 Date: Sat, 31 Oct 2026 02:50:38 +0900 Subject: [PATCH] ui: the control row's comment matches the order it draws Co-Authored-By: DeepSeek V4.1 Flash --- crates/ui-egui/src/panels/viewer_tools.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/ui-egui/src/panels/viewer_tools.rs b/crates/ui-egui/src/panels/viewer_tools.rs index 514fe2e34..5e5a644e8 100644 --- a/crates/ui-egui/src/panels/viewer_tools.rs +++ b/crates/ui-egui/src/panels/viewer_tools.rs @@ -722,10 +722,10 @@ fn exposure_field(app: &mut EffectcraftApp, ui: &mut egui::Ui, er: Rect, stops: } /// Lay out the viewer's control row from `bar.min.x`: magnification, resolution, Fast Previews, -/// transparency, mask, ROI, grid/guide, -/// channel/colour management, exposure, snapshot, fast previews, 3D renderer/view and Extended Viewer, timecode and render-time -/// indicators, running commands or toggling viewer UI state. Returns the width the row -/// occupies, at least `bar.width()`, for the horizontal scroll area. +/// transparency, mask, ROI, grid/guide, channel/colour management, exposure, snapshot, 3D +/// renderer/view and Extended Viewer, timecode and render-time indicators, running commands or +/// toggling viewer UI state. Returns the width the row occupies, at least `bar.width()`, for the +/// horizontal scroll area. fn bottom_bar_contents(app: &mut EffectcraftApp, ui: &mut egui::Ui, bar: Rect, zoom: f32, time: Tick, comp: &Comp) -> f32 { let t = app.tokens; let p = ui.painter().clone();