notes pane: two lines at least (78 px), as 0.19 held it; longer notes scroll inside

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Dylan M. Taylor
2026-11-29 19:16:47 +00:00
co-authored by Claude Opus 5.5
parent ad7e52e5b8
commit 40f49ed6b5
+2 -1
View File
@@ -115,7 +115,8 @@ impl PaneContent<Pane> for Content<'_, '_> {
let (edge, size, min, max) = match pane {
Pane::Thumbs => (PaneEdge::Start, 236.0, 150.0, 420.0),
Pane::Outline => (PaneEdge::Start, 360.0, 240.0, 520.0),
Pane::Notes => (PaneEdge::Bottom, 160.0, 36.0, 400.0),
// Two lines of notes: the notes pane opens at its least height, as 0.19's did.
Pane::Notes => (PaneEdge::Bottom, 160.0, 78.0, 400.0),
Pane::Task(_) => (PaneEdge::End, 300.0, 240.0, 520.0),
};
let mut spec = PaneSpec::new(self.title(pane), PaneState::docked(edge, size), vec2(size, size));