d76a52e - Change width/height to global setting
[wowui.git] / OmaRF / Events.lua
index d4f3e77..4d2a1a1 100644 (file)
@@ -29,7 +29,7 @@ local overlayColorDispel = Settings.OverlayColorDispel;
 local overlayColorCharm = Settings.OverlayColorCharm;
 local overlayColorAlert = Settings.OverlayColorAlert;
 local powerColors = Settings.PowerColors;
-local width = 10;
+local width = Settings.Width;
 
 local M = {};
 OmaRFEvents = M;
@@ -376,7 +376,3 @@ eventFuncs["PLAYER_FOCUS_CHANGED"] = eventFuncs["UPDATE_ALL_BARS"];
 function M.UnitEvent(self, event)
     eventFuncs[event](self);
 end
-
-function M.LoadChar()
-    width = Settings.Character.Width;
-end