Build panel and reworking Open paths, not compiling
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user