diff postdog/main.c @ 58:ccb42d5bf8fd

[PostDog] Somewhat working copy. That would use for testing.
author June Park <parkjune1995@gmail.com>
date Sat, 20 Dec 2025 09:33:15 -0800
parents d4cdb87212fb
children fff1b048dda6
line wrap: on
line diff
--- a/postdog/main.c	Fri Dec 19 18:00:30 2025 -0800
+++ b/postdog/main.c	Sat Dec 20 09:33:15 2025 -0800
@@ -8,6 +8,7 @@
 #include <sys/stat.h>
 #include <dirent.h>
 
+
 // third party
 #include <curl/curl.h>
 #include "third_party/raylib/include/raylib.h"
@@ -550,7 +551,7 @@
       } 
       else
       {
-        int item_y_position = historyArea.y + 5 - (int)historyScroll.y;
+        int item_y_position = historyArea.y + SIDEBAR_AREA_PADDING_Y + 5 - (int)historyScroll.y;
         for (
             int current_history_item_number = 0;
             current_history_item_number < historyCount;