فهرست منبع

Fix for #277 (#280)

Fixes incorrect comment from issue #277
PROP 65 2 سال پیش
والد
کامیت
80e802b18d
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/raygui.h

+ 1 - 1
src/raygui.h

@@ -1660,7 +1660,7 @@ Rectangle GuiScrollPanel(Rectangle bounds, const char *text, Rectangle content,
 #endif
             float wheelMove = GetMouseWheelMove();
 
-            // Horizontal scroll (Shift + Mouse wheel)
+            // Horizontal scroll ((Left Control or Right Shift) + Mouse wheel)
             if (hasHorizontalScrollBar && (IsKeyDown(KEY_LEFT_CONTROL) || IsKeyDown(KEY_RIGHT_SHIFT))) scrollPos.x += wheelMove*20;
             else scrollPos.y += wheelMove*20; // Vertical scroll
         }