Made OnVerticalScroll pass OnShow to FauxScrollFrame_OnVerticalScroll to avoid duplicating code
Kevin Lyles [10-03-09 - 18:20]
Made OnVerticalScroll pass OnShow to FauxScrollFrame_OnVerticalScroll to avoid duplicating code
diff --git a/WeightsWatcher.xml b/WeightsWatcher.xml
index e73f778..f32bac1 100644
--- a/WeightsWatcher.xml
+++ b/WeightsWatcher.xml
@@ -82,7 +82,7 @@
scrollBarUpdate()
</OnShow>
<OnVerticalScroll>
- FauxScrollFrame_OnVerticalScroll(self, offset, 20, scrollBarUpdate)
+ FauxScrollFrame_OnVerticalScroll(self, offset, 20, self:GetScript("OnShow"))
</OnVerticalScroll>
</Scripts>
</ScrollFrame>