Skip to content

Commit a8df9a8

Browse files
committed
*Fixed a List scrolling issue.
1 parent a834707 commit a8df9a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libs/beGUI/beGUI_Containers.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ local List = beClass.class({
109109
if self._pressedTimestamp ~= nil then
110110
local diff = DateTime.toSeconds(now - self._pressedTimestamp)
111111
if diff < 0.3 and self._pressedPosition ~= self._pressingPosition then
112-
if self._scrollableHorizontally then
112+
if self._scrollableHorizontally and w < self._maxX then
113113
local diff = self._pressedPosition - self._pressingPosition
114114
if math.abs(diff.x) < math.abs(diff.y) then
115115
self._scrolling = 'y'

0 commit comments

Comments
 (0)