We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba82eaf commit 8eb3a09Copy full SHA for 8eb3a09
2 files changed
src/elements/Frame.lua
@@ -117,7 +117,7 @@ end
117
--- @return boolean handled Whether the event was handled
118
--- @protected
119
function Frame:mouse_drag(button, x, y)
120
- if self.get("clicked") and self.dragging then
+ if self:hasState("clicked") and self.dragging then
121
local newX = x - self.dragStartX
122
local newY = y - self.dragStartY
123
src/elements/List.lua
@@ -318,6 +318,7 @@ end
318
--- @shortDescription Renders the list
319
320
function List:render(vOffset)
321
+ vOffset = vOffset or 0
322
Collection.render(self)
323
324
local items = self.get("items")
0 commit comments