mirror of
https://github.com/storytold/lightcraft.git
synced 2026-12-04 16:01:16 -05:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user