Paint added and other bug fixes
This commit is contained in:
Chris
2026-02-08 23:17:27 +01:00
parent 904dc2f1a5
commit 23972f8951
30 changed files with 829 additions and 637 deletions

View File

@@ -265,7 +265,7 @@ static void editor_paint(Window *win) {
}
// Fill editor background
draw_rect(offset_x, offset_y + 30, content_width, content_height - 55, COLOR_WHITE);
draw_rect(win->x + 4, win->y + 54, win->w - 8, win->h - 58, COLOR_WHITE);
// Calculate available width for text (accounting for line numbers)
int text_start_x = offset_x + 40;