<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -46,19 +46,20 @@ frame:SetScript(&quot;OnShow&quot;, function(frame)
 	showcompass:SetChecked(not Squeenix.db.hidecompass)
 
 
---~ 	local threshslider, threshslidertext, threshcontainer = tekslider.new(frame, &quot;Break Threshold: &quot;..ControlFreak.db.char.breakthreshold..&quot; sec&quot;, 0, 10, &quot;LEFT&quot;, frame, &quot;TOP&quot;, GAP, 0)
---~ 	threshcontainer:SetPoint(&quot;TOP&quot;, lockpos, &quot;TOP&quot;, 0, 0)
---~ 	threshslider.tiptext = &quot;Time (in seconds) before spell breaks to unfade frame.&quot;
---~ 	threshslider:SetValue(ControlFreak.db.char.breakthreshold)
---~ 	threshslider:SetValueStep(1)
---~ 	threshslider:SetScript(&quot;OnValueChanged&quot;, function()
---~ 		ControlFreak.db.char.breakthreshold = threshslider:GetValue()
---~ 		threshslidertext:SetText(&quot;Break Threshold: &quot;..ControlFreak.db.char.breakthreshold..&quot; sec&quot;)
---~ 	end)
+	local scaleslider, scaleslidertext, scalecontainer = tekslider.new(frame, string.format(&quot;Scale: %.2f&quot;, Squeenix.db.scale or 1), 0.5, 2, &quot;LEFT&quot;, frame, &quot;TOP&quot;, GAP, 0)
+	scalecontainer:SetPoint(&quot;TOP&quot;, showcompass, &quot;TOP&quot;, 0, 0)
+	scaleslider.tiptext = &quot;Set the minimap scale.&quot;
+	scaleslider:SetValue(Squeenix.db.scale or 1)
+	scaleslider:SetValueStep(.05)
+	scaleslider:SetScript(&quot;OnValueChanged&quot;, function(self)
+		Squeenix.db.scale = self:GetValue()
+		scaleslidertext:SetText(string.format(&quot;Scale: %.2f&quot;, Squeenix.db.scale or 1))
+		Squeenix:SetScale()
+	end)
 
 
 --~ 	local alpha = math.floor(ControlFreak.db.char.alpha*100 + .5)
---~ 	local alphaslider, alphaslidertext = tekslider.new(frame, &quot;Alpha: &quot;..alpha..&quot;%&quot;, &quot;0%&quot;, &quot;100%&quot;, &quot;TOP&quot;, threshcontainer, &quot;BOTTOM&quot;, 0, -GAP)
+--~ 	local alphaslider, alphaslidertext = tekslider.new(frame, &quot;Alpha: &quot;..alpha..&quot;%&quot;, &quot;0%&quot;, &quot;100%&quot;, &quot;TOP&quot;, scalecontainer, &quot;BOTTOM&quot;, 0, -GAP)
 --~ 	alphaslider.tiptext = &quot;Alpha level to fade frame to when focus is controlled, dead, or not set.&quot;
 --~ 	alphaslider:SetValue(ControlFreak.db.char.alpha)
 --~ 	alphaslider:SetValueStep(0.05)</diff>
      <filename>Config.lua</filename>
    </modified>
    <modified>
      <diff>@@ -1,69 +1,11 @@
-if true then return end
-local L = AceLibrary(&quot;AceLocale-2.2&quot;):new(&quot;SqueenixScale&quot;)
-L:RegisterTranslations(&quot;enUS&quot;, function() return {
-	[&quot;Scale map&quot;] = true,
-	[&quot;Minimap scale&quot;] = true,
-	[&quot;Scale text&quot;] = true,
-	[&quot;Minimap text header scale&quot;] = true,
-} end)
 
-L:RegisterTranslations(&quot;koKR&quot;, function() return {
-	[&quot;Scale map&quot;] = &quot;&#47605; &#53356;&#44592;&quot;,
-	[&quot;Minimap scale&quot;] = &quot;&#48120;&#45768;&#47605;&#51032; &#53356;&#44592;&#47484; &#49444;&#51221;&#54633;&#45768;&#45796;&quot;,
-	[&quot;Scale text&quot;] = &quot;&#53581;&#49828;&#53944; &#53356;&#44592;&quot;,
-	[&quot;Minimap text header scale&quot;] = &quot;&#48120;&#45768;&#47605;&#51032; &#49345;&#45800;&#48148; &#53581;&#49828;&#53944;&#51032; &#53356;&#44592;&#47484; &#49444;&#51221;&#54633;&#45768;&#45796;.&quot;,
-} end)
+if not Squeenix then return end
+local Squeenix = Squeenix
 
-local scale = Squeenix:NewModule(&quot;Scale&quot;)
 
+local frames = {Minimap, MinimapZoneTextButton, MinimapToggleButton, GameTimeFrame}
 
-function scale:OnInitialize()
-	local self = self
-	self.db = Squeenix:AcquireDBNamespace(&quot;Scale&quot;)
-	Squeenix:RegisterDefaults(&quot;Scale&quot;, &quot;profile&quot;, {
-		mapscale = 1,
-		textscale = 1,
-	})
 
-	Squeenix.Options.args.mapscale = {
-		name = L[&quot;Scale map&quot;],
-		type = &quot;range&quot;,
-		desc = L[&quot;Minimap scale&quot;],
-		min = 0.5,
-		max = 2,
-		step = 0.05,
-		isPercent = true,
-		handler = self,
-		get = function() return self.db.profile.mapscale end,
-		set = &quot;SetMapScale&quot;,
-	}
-	Squeenix.Options.args.textscale = {
-		name = L[&quot;Scale text&quot;],
-		type = &quot;range&quot;,
-		desc = L[&quot;Minimap text header scale&quot;],
-		min = 0.5,
-		max = 2,
-		step = 0.05,
-		isPercent = true,
-		handler = self,
-		get = function() return self.db.profile.textscale end,
-		set = &quot;SetTextScale&quot;,
-	}
-
-	self:SetMapScale()
-	self:SetTextScale()
+function Squeenix:SetScale()
+	for _,f in pairs(frames) do f:SetScale(self.db.scale or 1) end
 end
-
-
-function scale:SetMapScale(v)
-	if v then self.db.profile.mapscale = v end
-	Minimap:SetScale(self.db.profile.mapscale)
-end
-
-
-function scale:SetTextScale(v)
-	if v then self.db.profile.textscale = v end
-	MinimapZoneTextButton:SetScale(self.db.profile.textscale)
-end
-
-</diff>
      <filename>Scale.lua</filename>
    </modified>
    <modified>
      <diff>@@ -62,6 +62,7 @@ function Squeenix:ADDON_LOADED()
 	self:HideButtons()
 	self:ShowCompass()
 	self:SetPosition()
+	self:SetScale()
 
 	f:UnregisterEvent(&quot;ADDON_LOADED&quot;)
 	self.ADDON_LOADED = nil</diff>
      <filename>Squeenix.lua</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a6bb2da358657f772dc3cb8fb3869296a8e57f3a</id>
    </parent>
  </parents>
  <author>
    <name>Tekkub Stoutwrithe</name>
    <email>tekkub@gmail.com</email>
  </author>
  <url>http://github.com/tekkub/squeenix/commit/fa949166cc6122b0d20c2f26a01f1f49669f937e</url>
  <id>fa949166cc6122b0d20c2f26a01f1f49669f937e</id>
  <committed-date>2008-03-14T17:07:46-07:00</committed-date>
  <authored-date>2008-03-14T16:39:49-07:00</authored-date>
  <message>Flesh out scale option</message>
  <tree>928bfc69691f0a633c5e1081aec7a31cc22afa51</tree>
  <committer>
    <name>Tekkub Stoutwrithe</name>
    <email>tekkub@gmail.com</email>
  </committer>
</commit>
