add handling for offseting fsTree start

This commit is contained in:
2026-01-04 02:54:34 +00:00
parent 92efbf61aa
commit 3ecc365a9b
3 changed files with 14 additions and 10 deletions
+5 -4
View File
@@ -2,10 +2,11 @@ package main
// layout constants
const (
minFsTreeWidth = 5
minNoteViewWidth = 10
dividerWidth = 1
dragHitArea = 2 // +/- chars around divider
minFsTreeWidth = 5
minNoteViewWidth = 10
dividerWidth = 1
dragHitArea = 2 // +/- chars around divider
fsTreeStartOffset = 1
)
// calculateLayout computes the widths for the file tree and note view