修复有屏幕滚动的场景按住鼠标拖动时控件会失去焦点
This commit is contained in:
@@ -1315,7 +1315,7 @@ function WIDGET.drag(x,y,dx,dy)
|
||||
local W=WIDGET.sel
|
||||
if W.drag then
|
||||
W:drag(x,y+WIDGET.scrollPos,dx,dy)
|
||||
elseif not W:isAbove(x,y)then
|
||||
elseif not W:isAbove(x,y+WIDGET.scrollPos)then
|
||||
WIDGET.unFocus(true)
|
||||
end
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user