fix: disable tooltip for other components
This commit is contained in:
+3
-2
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user