WoWInterface SVN NeedToKnow-Updated

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /branches
    from Rev 98 to Rev 99
    Reverse comparison

Rev 98 → Rev 99

Kitjan/NeedToKnow/NeedToKnow_Options.lua
1235,7 → 1235,7
 
-- calculate & set new scale
local newYScale = group.oldScale * (cursorY/uiScale - group.oldY*group.oldScale) / (self.oldCursorY/uiScale - group.oldY*group.oldScale) ;
local newScale = max(0.6, newYScale);
local newScale = max(0.25, newYScale);
 
-- clamp the scale so the group is a whole number of pixels tall
local bar1 = _G[group:GetName().."Bar1"]
Kitjan/NeedToKnow/NeedToKnow.lua
274,6 → 274,7
 
local profile = NeedToKnow.CharSettings.Specs[spec]
if not profile then
trace("NeedToKnow: Switching to spec",spec,"for the first time")
profile = NeedToKnow.CreateProfile(CopyTable(NEEDTOKNOW.PROFILE_DEFAULTS), spec)
end
 
548,6 → 549,10
print("NeedToKnow: Migrating settings from", NeedToKnow_Settings["Version"]);
local oldSettings = NeedToKnow_Settings
NeedToKnow.ResetCharacter(false)
if ( not oldSettings["Spec"] ) then
NeedToKnow_Settings = nil
return
end
 
-- Blink was controlled purely by the alpha of MissingBlink for awhile,
-- But then I introduced an explicit blink_enabled variable. Fill that in
622,10 → 627,11
if NeedToKnow_Settings then -- prior to 3.3
NeedToKnowLoader.MigrateCharacterSettings()
end
if not NeedToKnow.CharSettings then
if not NeedToKnow_CharSettings then
-- we'll call talent update right after this, so we pass false now
NeedToKnow.ResetCharacter(false)
end
NeedToKnow.CharSettings = NeedToKnow_CharSettings
 
-- 3.3 settings sanity check
if not NeedToKnow_Globals or