Small mouse fix

This commit is contained in:
Krzosa Karol
2024-06-08 15:58:18 +02:00
parent 2ec4a2a28d
commit b08c7c9ce6
3 changed files with 27 additions and 19 deletions

View File

@@ -81,11 +81,9 @@ main :: proc(): int {
ClearBackground(RAYWHITE);
if sandbox_chosen == SANDBOX_TEXT_EDITOR {
if !TeInited InitTextEditor(font, font_size, font_spacing);
ComputeWindowRects(screen_rect);
UpdateAndDrawWindows(font, font_size);
UpdateTextEditor(screen_rect, font, font_size, font_spacing);
} else if sandbox_chosen == SANDBOX_PROTOTYPE {
UpdatePrototype(screen_rect);
}
DrawRect(top_bar_original, LIGHTGRAY);