From 392c84ac29f504d12b3945274efd20d5cc2d2f8d Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Mon, 26 Apr 2010 01:40:51 -0400 Subject: [PATCH] In ScrollBar_Scroll(): Terminate immediately if the ScrollBar is hidden. --- Frame.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Frame.lua b/Frame.lua index 2464407..ad13493 100644 --- a/Frame.lua +++ b/Frame.lua @@ -2784,6 +2784,9 @@ do highlight._texture:SetAllPoints(highlight) local function ScrollBar_Scroll(delta) + if not ScrollBar:IsShown() then + return + end local cur_val = ScrollBar:GetValue() local min_val, max_val = ScrollBar:GetMinMaxValues() -- 1.7.9.5