mirror of
https://github.com/storytold/deckcraft.git
synced 2026-12-01 18:23:52 -06:00
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:
co-authored by
Claude Opus 5.5
parent
ad7e52e5b8
commit
40f49ed6b5
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user