Quantcast

xxx

Munglunch [01-19-15 - 21:58]
xxx
Filename
Interface/AddOns/SVUI/framework/widgets/widgets.xml
Interface/AddOns/SVUI/system/media.lua
diff --git a/Interface/AddOns/SVUI/framework/widgets/widgets.xml b/Interface/AddOns/SVUI/framework/widgets/widgets.xml
index 036cb0b..03c4d9b 100644
--- a/Interface/AddOns/SVUI/framework/widgets/widgets.xml
+++ b/Interface/AddOns/SVUI/framework/widgets/widgets.xml
@@ -254,6 +254,5 @@
     <Script file="widget_gamemenu.lua"/>
     <Script file="widget_afk.lua"/>
     <Script file="widget_comix.lua"/>
-    <Script file="widget_superbutton.lua"/>
     <Script file="widget_drunk.lua"/>
 </Ui>
\ No newline at end of file
diff --git a/Interface/AddOns/SVUI/system/media.lua b/Interface/AddOns/SVUI/system/media.lua
index 4c219b8..bbe0251 100644
--- a/Interface/AddOns/SVUI/system/media.lua
+++ b/Interface/AddOns/SVUI/system/media.lua
@@ -70,12 +70,12 @@ local SVUI_DAMAGE_FONT = "Interface\\AddOns\\SVUI\\assets\\fonts\\!DAMAGE.ttf";
 local SVUI_DAMAGE_FONTSIZE = 32;

 local function ForceDamageFont()
-	DAMAGE_TEXT_FONT = SVUI_DAMAGE_FONT
+	_G.DAMAGE_TEXT_FONT = SVUI_DAMAGE_FONT
 	--COMBAT_TEXT_HEIGHT = SVUI_DAMAGE_FONTSIZE;
-	COMBAT_TEXT_CRIT_SCALE_TIME = 0.7;
-	COMBAT_TEXT_SPACING = 15;
-	COMBAT_TEXT_Y_SCALE = 1.5;
-	COMBAT_TEXT_X_SCALE = 1.5;
+	_G.COMBAT_TEXT_CRIT_SCALE_TIME = 0.7;
+	_G.COMBAT_TEXT_SPACING = 15;
+	--_G.COMBAT_TEXT_Y_SCALE = 1.5;
+	--_G.COMBAT_TEXT_X_SCALE = 1.5;
 end

 ForceDamageFont();
@@ -621,7 +621,7 @@ local function UpdateAllFontTemplates()
 	for template, _ in pairs(ManagedFonts) do
 		UpdateFontTemplate(template)
 	end
-	ChangeGlobalFonts();
+	ChangeSystemFonts();
 end

 local function UpdateFontGroup(...)