fix: disable tooltip for other components

This commit is contained in:
2026-10-03 12:01:15 -07:00
parent 698274e096
commit 7be9cd935b
+3 -2
View File
@@ -63,6 +63,8 @@ struct tm *get_date_days_ago(int days_ago, char *buffer, size_t buffer_size) {
}
void draw_graph(int x, int y) {
GuiEnableTooltip();
int num_columns = NUM_WEEKS;
int num_rows = 7; // days in a week
@@ -104,6 +106,7 @@ void draw_graph(int x, int y) {
}
}
}
GuiDisableTooltip();
}
bool edit_mode = false;
@@ -163,8 +166,6 @@ int main(int argc, char *argv[]) {
InitWindow(WINDOW_WIDTH, WINDOW_HEIGHT, "Flowy.adhd");
GuiEnableTooltip();
while (!WindowShouldClose()) {
BeginDrawing();