smoother scaling for the filter display
This commit is contained in:
@@ -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')
|
||||||
|
|||||||
Reference in New Issue
Block a user