Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/Classes/ItemListControl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,9 @@ function ItemListClass:OnSelClick(index, itemId, doubleClick)
self.itemsTab.build.buildFlag = true
end
elseif doubleClick then
-- disallow dragging since if the cursor is outside the selection after
-- the second click, the item will be stuck onto the cursor
self.selDragging = false
local newItem = new("Item", item:BuildRaw())
newItem.id = item.id
self.itemsTab:SetDisplayItem(newItem)
Expand Down
Loading