Skip to content

Commit

Permalink
Merge pull request #244 from edgarasf123/patch-1
Browse files Browse the repository at this point in the history
Stop materials from scrolling
  • Loading branch information
adamdburton committed Feb 15, 2016
2 parents a6211d3 + 23f0b8e commit f56c271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/pointshop/vgui/DPointShopItem.lua
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function PANEL:SetData(data)
end

function DImageButton.m_Image:Paint(w, h)
if self:GetParent():GetParent().Hovered then
if not self:GetParent():GetParent().Data.NoScroll and self:GetParent():GetParent().Hovered then
self.FrameTime = self.FrameTime + 1
end

Expand Down

0 comments on commit f56c271

Please sign in to comment.