From 80e802b18d8105f78291f7174c49022757245489 Mon Sep 17 00:00:00 2001 From: PROP 65 <132837123+PROP65@users.noreply.github.com> Date: Sun, 7 May 2023 19:28:36 +0000 Subject: [PATCH] Fix for #277 (#280) Fixes incorrect comment from issue #277 --- src/raygui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/raygui.h b/src/raygui.h index bfa7fd2..fd4b6a9 100644 --- a/src/raygui.h +++ b/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 }