Skip to content

Commit

Permalink
Fixed window dragging
Browse files Browse the repository at this point in the history
  • Loading branch information
AcidWeb committed Aug 6, 2019
1 parent 3e10480 commit 2123261
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
4 changes: 3 additions & 1 deletion REFlex.lua
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ local RegisterAddonMessagePrefix = _G.C_ChatInfo.RegisterAddonMessagePrefix
local SendAddonMessage = _G.C_ChatInfo.SendAddonMessage
local ElvUI = _G.ElvUI

RE.Version = 270
RE.Version = 271
RE.LastSquash = 1531828800
RE.FoundNewVersion = false

Expand Down Expand Up @@ -166,6 +166,7 @@ function RE:OnLoad(self)
RE.TableBG.frame["col"..i.."bg"]:SetPoint("TOPLEFT", parent, "BOTTOMLEFT", 0, -9)
RE.TableBG.frame["col"..i.."bg"]:SetPoint("TOPRIGHT", parent, "BOTTOMRIGHT", 0, -9)
end
RE.TableBG.frame:ClearAllPoints()
RE.TableBG.frame:SetPoint("TOP", _G.REFlexFrame_ScoreHolder, "BOTTOM", 0, -15)
RE.TableBG.frame:Hide()
RE.TableBG:RegisterEvents({
Expand All @@ -187,6 +188,7 @@ function RE:OnLoad(self)
end,
})
RE.TableArena = ST:CreateST(RE.ArenaStructure, 18, 25, nil, _G.REFlexFrame)
RE.TableArena.frame:ClearAllPoints()
RE.TableArena.frame:SetPoint("TOP", _G.REFlexFrame_ScoreHolder, "BOTTOM", 0, -15)
RE.TableArena.frame:Hide()
RE.TableArena:RegisterEvents({
Expand Down
2 changes: 1 addition & 1 deletion REFlex.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Interface: 80200
## Title: |cFF74D06CRE|rFlex
## Notes: Collect statistics of played arena matches and battlegrounds.
## Version: 2.7.0
## Version: 2.7.1
## Author: AcidWeb
## SavedVariablesPerCharacter: REFlexSettings, REFlexDatabase, REFlexHonorDatabase
## X-Website: https://www.curseforge.com/wow/addons/reflex-battleground-historian
Expand Down
12 changes: 6 additions & 6 deletions REFlex.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
<Frame name="REFlexStatsDropDown" inherits="UIDropDownMenuTemplate" id="1" hidden="true"/>

<Frame name="REFlexFrame" resizable="false" movable="true" hidden="true" parent="UIParent">
<Size>
<AbsDimension x="790" y="625"/>
</Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
<Scripts>
<OnLoad>REFlex:OnLoad(self)</OnLoad>
<OnEvent>REFlex:OnEvent(self, event, ...)</OnEvent>
Expand All @@ -17,12 +23,6 @@
<OnDragStart>self:StartMoving()</OnDragStart>
<OnDragStop>self:StopMovingOrSizing()</OnDragStop>
</Scripts>
<Size>
<AbsDimension x="790" y="625"/>
</Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
<EdgeSize>
<AbsValue val="32"/>
Expand Down

0 comments on commit 2123261

Please sign in to comment.