From 3582d6c75db4264eaa2bbfbdc14a29bc8faafb2c Mon Sep 17 00:00:00 2001 From: OneSlips Date: Sun, 1 Nov 2026 05:26:38 +1000 Subject: [PATCH] LR-BEHAV-PANEL-RESIZE: the hidden-column toggle record formatted to the 150-column limit (CodeRabbit, #3031) Co-Authored-By: Claude Opus 5.5 --- crates/ui-egui/src/state.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/ui-egui/src/state.rs b/crates/ui-egui/src/state.rs index 5e592eacb3..cf42b89561 100644 --- a/crates/ui-egui/src/state.rs +++ b/crates/ui-egui/src/state.rs @@ -463,7 +463,8 @@ impl UiState { } else { // (a column hidden behind another dock tab comes back hidden, with no on-canvas tool: what it held // wasn't on show) - let saved = if exposed { (p, self.right, self.tool_return, Some(self.tool.clone())) } else { (p, RightPanel::None, self.tool_return, None) }; + let saved = + if exposed { (p, self.right, self.tool_return, Some(self.tool.clone())) } else { (p, RightPanel::None, self.tool_return, None) }; if self.toggle_return.len() >= TOGGLE_HISTORY { self.toggle_return.remove(0); }