Fixes incorrect comment from issue #277
This commit is contained in:
PROP 65
2023-05-07 19:28:36 +00:00
committed by GitHub
parent 6fc9337cd8
commit 80e802b18d

View File

@ -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
}