Commit b7255713 authored by Azilroka's avatar Azilroka
Browse files

DataTexts: Disable Scroll Wheel on Swapout

parent 3c7de92f
...@@ -509,6 +509,7 @@ function DT:UpdatePanelInfo(panelName, panel, ...) ...@@ -509,6 +509,7 @@ function DT:UpdatePanelInfo(panelName, panel, ...)
dt:ClearAllPoints() dt:ClearAllPoints()
dt:Point(DT:GetDataPanelPoint(panel, i, numPoints, vertical)) dt:Point(DT:GetDataPanelPoint(panel, i, numPoints, vertical))
dt:UnregisterAllEvents() dt:UnregisterAllEvents()
dt:EnableMouseWheel(false)
dt:SetScript('OnUpdate', nil) dt:SetScript('OnUpdate', nil)
dt:SetScript('OnEvent', nil) dt:SetScript('OnEvent', nil)
dt:SetScript('OnClick', nil) dt:SetScript('OnClick', nil)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment