From c66037ab07e96fed3993992fede6ef32ea8acada Mon Sep 17 00:00:00 2001 From: LordSk Date: Sat, 2 Feb 2019 19:05:08 +0100 Subject: [PATCH] Small fix to the doc --- src/game/client/components/menus.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/client/components/menus.h b/src/game/client/components/menus.h index 725cbb5f2..7c11fece8 100644 --- a/src/game/client/components/menus.h +++ b/src/game/client/components/menus.h @@ -220,10 +220,10 @@ private: -- [Optionnal] Knowing if a rect is clipped -- ScrollRegionIsRectClipped(&s_ScrollRegion, Rect); - -- [Optionnal] Scroll to a rect -- + -- [Optionnal] Scroll to a rect (to the last added rect)-- ... ScrollRegionAddRect(&s_ScrollRegion, Rect); - ScrollRegionScrollHere(&s_ScrollRegion, Rect, Option); + ScrollRegionScrollHere(&s_ScrollRegion, Option); -- End -- EndScrollRegion(&s_ScrollRegion);