PhotoCraft: An open-source, photo editor written by scratch in pure Rust
Integration: #6963 test comment says the field shrinks to leave room for the readout
aiongg4d42de4a800e
diff --git a/crates/ui-egui/src/panels.rs b/crates/ui-egui/src/panels.rsindex 01b22587b..f5dbd7bc0 100644--- a/crates/ui-egui/src/panels.rs+++ b/crates/ui-egui/src/panels.rs@@ -5054,7 +5054,7 @@ mod color_tests {assert_eq!(srgb_bytes(h.state().session.tools.foreground), [0, 255, 0]);}- /// The Color field fills the dock group, never shrinks below 120 pt, and ignores a bad height.+ /// The Color field fills the dock group, shrinks to leave room for the readout in a short group, and ignores a bad height.#[test]fn color_field_height_fills_the_group() {assert_eq!(color_field_height(None, 300.0), 120.0);