LR-BEHAV-PANEL-RESIZE: the hidden-column toggle record formatted to the 150-column limit (CodeRabbit, #3031)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
OneSlips
2026-11-01 05:26:38 +10:00
parent 10d75b2180
commit 3582d6c75d
+2 -1
View File
@@ -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);
}