Build panel and reworking Open paths, not compiling

This commit is contained in:
krzosa
2025-12-24 11:19:23 +01:00
parent ceb6747fcd
commit b98d14f9dd
10 changed files with 94 additions and 23 deletions

View File

@@ -326,7 +326,7 @@ void OnCommand(Event event) {
Assert(DocumentSelected.id == -1);
BSet active = GetBSet(ActiveWindowID); // using next to make sure mouse works on first click after switching the window
bool mouse_in_document = AreOverlapping(mouse, active.window->document_rect);
bool mouse_in_document = AreOverlapping(mouse, active.window->document_rect);
bool mouse_in_line_numbers = AreOverlapping(mouse, active.window->line_numbers_rect);
if (mouse_in_document || mouse_in_line_numbers) {
DocumentSelected = active.window->id;