From ed9fa9a93168182beccb5d82cdff9a501979a273 Mon Sep 17 00:00:00 2001 From: Hugo ARNAL Date: Sat, 11 Oct 2025 17:35:19 +0200 Subject: [PATCH] Removed alternating colors & text on directory --- examples/core/core_directory_files.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/core/core_directory_files.c b/examples/core/core_directory_files.c index f15e83405..27764315b 100644 --- a/examples/core/core_directory_files.c +++ b/examples/core/core_directory_files.c @@ -64,12 +64,11 @@ int main(void) for (int i = 0; i < (int)files.count; i++) { - float alpha = (i % 2 == 0)? 0.5f : 0.3f; - Color color = Fade(LIGHTGRAY, alpha); + Color color = Fade(LIGHTGRAY, 0.3f); if (!IsPathFile(files.paths[i])) { - if (GuiButton((Rectangle){0.0f, 85.0f + 40.0f*(float)i, screenWidth, 40}, "<")) + if (GuiButton((Rectangle){0.0f, 85.0f + 40.0f*(float)i, screenWidth, 40}, "")) { strcpy(directory, files.paths[i]); UnloadDirectoryFiles(files);