From 8e527f54d52241248f86b00d633a1471874d7c69 Mon Sep 17 00:00:00 2001 From: Tuller Date: Sat, 28 Aug 2010 16:53:56 -0400 Subject: [PATCH] made min scale adjust to small ui scales --- tullaCC/cc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 deploy.sh diff --git a/deploy.sh b/deploy.sh old mode 100644 new mode 100755 diff --git a/tullaCC/cc.lua b/tullaCC/cc.lua index 9998f21..08cd1aa 100644 --- a/tullaCC/cc.lua +++ b/tullaCC/cc.lua @@ -95,7 +95,7 @@ local function Timer_OnUpdate(self, elapsed) else local remain = self.duration - (GetTime() - self.start) if round(remain) > 0 then - if (self.fontScale * self:GetEffectiveScale()) < MIN_SCALE then + if (self.fontScale * self:GetEffectiveScale() / UIParent:GetScale()) < MIN_SCALE then self.text:SetText('') self.nextUpdate = 1 else -- 1.7.9.5