From cb87a9852128a47ac1030a7803f15583197aeeb4 Mon Sep 17 00:00:00 2001 From: Trevor Lund Date: Wed, 4 Apr 2018 17:32:40 -0500 Subject: [PATCH] Moved location of passive tree inset --- Classes/ItemSlotControl.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/ItemSlotControl.lua b/Classes/ItemSlotControl.lua index a1178ece2..994bc0e05 100644 --- a/Classes/ItemSlotControl.lua +++ b/Classes/ItemSlotControl.lua @@ -127,8 +127,8 @@ function ItemSlotClass:Draw(viewPort) self:DrawControls(viewPort) if not main.popups[1] and self.nodeId and (self.dropped or (self:IsMouseOver() and (self.otherDragSource or not self.itemsTab.selControl))) then SetDrawLayer(nil, 15) - local viewerX = x + width + 5 - local viewerY = m_min(y, viewPort.y + viewPort.height - 304) + local viewerX = x + local viewerY = m_min(y - 300 - 5, viewPort.y + viewPort.height - 304) SetDrawColor(1, 1, 1) DrawImage(nil, viewerX, viewerY, 304, 304) local viewer = self.itemsTab.socketViewer