smoother scaling for the filter display

This commit is contained in:
Manuel Simon Hirsig
2016-08-08 21:45:07 +02:00
parent e8144efbc5
commit 1d151420f7
+1 -1
View File
@@ -534,7 +534,7 @@ do
scroll_frame:EnableMouseWheel(true) scroll_frame:EnableMouseWheel(true)
scroll_frame:SetScript('OnMouseWheel', function() scroll_frame:SetScript('OnMouseWheel', function()
local child = this:GetScrollChild() local child = this:GetScrollChild()
child:SetScale(max(.3, min(1, child:GetScale() + arg1/10))) child:SetScale(max(.3, min(1, child:GetScale() + arg1/20)))
m.update_filter_display() m.update_filter_display()
end) end)
scroll_frame:RegisterForDrag('LeftButton') scroll_frame:RegisterForDrag('LeftButton')