Skip to content

Commit

Permalink
Fixes / OCD Changes :)
Browse files Browse the repository at this point in the history
Slight fixes and o.c.d changes ;-)   Matched the width of the splash options to that of the splash screen.  Fixed the credits not showing on first load of a new version.  r21 is now uploaded to Curseforge.
  • Loading branch information
Softrix committed May 11, 2023
1 parent 08eb98d commit 10a4cdd
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 21 deletions.
4 changes: 2 additions & 2 deletions SmartBuff.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

SMARTBUFF_DATE = "110523";

SMARTBUFF_VERSION = "r20."..SMARTBUFF_DATE;
SMARTBUFF_VERSION = "r21."..SMARTBUFF_DATE;
SMARTBUFF_VERSIONNR = 100100;
SMARTBUFF_TITLE = "SmartBuff";
SMARTBUFF_SUBTITLE = "Supports you in casting buffs";
Expand Down Expand Up @@ -3142,7 +3142,7 @@ function SMARTBUFF_Options_Init(self)
OG.Tutorial = SMARTBUFF_VERSIONNR;
SMARTBUFF_ToggleTutorial();
end

SmartBuffOptionsCredits_lblText:SetText(SMARTBUFF_CREDITS); -- bugfix, credits now showing at first start
SmartBuffWNF_lblText:SetText(SMARTBUFF_WHATSNEW);
SmartBuffWNF:Show();

Expand Down
18 changes: 9 additions & 9 deletions SmartBuff.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<Layers>
<Layer level="BACKGROUND">
<Texture setAllPoints="true">
<Color r="0.2" g="0" b="0" a="0.3" />
<Color r="0.2" a="0.3" />
</Texture>
</Layer>
</Layers>
Expand Down Expand Up @@ -104,7 +104,7 @@
</MessageFrame>
<Frame name="SmartBuffSplashFrameOptions" hidden="true" parent="SmartBuffSplashFrame" toplevel="true" movable="true" frameStrata="DIALOG" enableMouse="true">
<Size>
<AbsDimension x="420" y="100" />
<AbsDimension x="500" y="100" />
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="BOTTOMLEFT">
Expand Down Expand Up @@ -431,7 +431,7 @@
<Layers>
<Layer level="BACKGROUND">
<Texture setAllPoints="true">
<Color r="0.2" g="0" b="0" a="0.3" />
<Color r="0.2" a="0.3" />
</Texture>
</Layer>
</Layers>
Expand Down Expand Up @@ -465,7 +465,7 @@
<AbsDimension x="560" y="720" />
</Size>
<Anchors>
<Anchor point="CENTER" x="30" y="-42" />
<Anchor x="30" y="-42" point="CENTER" />
</Anchors>
<Layers>
<Layer>
Expand Down Expand Up @@ -1408,7 +1408,7 @@
</Button>
<Button name="SmartBuffOptionsFrame_TutorialButton" parentKey="MainHelpButton" inherits="MainHelpPlateButton" toplevel="true">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent" x="-24" y="24" />
<Anchor x="-24" y="24" point="TOPLEFT" relativeTo="$parent" />
</Anchors>
<Scripts>
<OnClick>
Expand Down Expand Up @@ -1582,7 +1582,7 @@
<Button name="SmartBuffOptionsFrame_btnPlaySound" inherits="UIPanelButtonTemplate" text="&gt;">
<Size x="27" y="16" />
<Anchors>
<Anchor point="TOPLEFT" x="207" y="-203" />
<Anchor x="207" y="-203" point="TOPLEFT" />
</Anchors>
<Scripts>
<OnClick>
Expand Down Expand Up @@ -3077,12 +3077,12 @@
</OnLoad>
</Scripts>
<FontString inherits="GameFontNormal">
<Color r="1" g="0.82" b="0" />
<Color r="1" g="0.82" />
<Shadow>
<Offset>
<AbsDimension x="1" y="-1" />
</Offset>
<Color r="0" g="0" b="0" />
<Color />
</Shadow>
</FontString>
</EditBox>
Expand Down Expand Up @@ -3114,7 +3114,7 @@
</Anchor>
</Anchors>
<Frames>
<EditBox name="$parent_lblText" letters="0" multiLine="true" autoFocus="false">
<EditBox name="$parent_lblText" multiLine="true" autoFocus="false">
<Size>
<AbsDimension x="313" y="572" />
</Size>
Expand Down
17 changes: 7 additions & 10 deletions localization.en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,21 @@

-- Whats new info
SMARTBUFF_WHATSNEW = "\n\n|cffffffff Whats new:|r\n\n"
.." |cffffffffDragonflight version by Codermik, additional.\n"
.." retail coding by Speedwaystar.|cff00e0ff\n\n\n"
.." Changes in r20.010323:\n\n"
.." * Registered sounds with the Shared Media Library.\n\n"
.." * Prevented template automatically resetting after.\n"
.." a manual selection.\n\n"
.." * Other changes and fixes. for more detailed changes\n"
.." please visit the official github pages.\n\n"
.." |cffffffffDragonflight version by Codermik & Speedwaystar.\n"
.."\n\n"
.." Changes in r21.110523:\n\n"
.." * Fixed various Lua errors, for a full list of\n"
.." changes visit the github pages.\n\n"
.."\n\n"
.." |c0000FF96Many thanks to Chris S., Samantha R. and\n"
.." Twilight's Sundries for their kind donations.\n"
.."\n\n"
;

SMARTBUFF_CREDITS = "|cffffffff"
.."Dragonflight version by Codermik. Please join and report any issues on discord at:\n\n"
.."Retail & Classic by Codermik & Speedwaystar. Please join and get support via our discord server:\n"
.."|cff00e0ffhttps://discord.gg/R6EkZ94TKK\n\n"
.."|cffffffffIf you appreciate the amount of work involved and the time taken to bring you these various addons please consider supporting me by:\n\n"
.."|cffffffffIf you want to help support us and the development of this addon then please always download from Curse or use one of the following links:\n\n(We only ever upload to Curseforge)\n\n"
.."|cffffffffPatreon: |cff00e0ffhttps://www.patreon.com/codermik\n"
.."|cffffffffTwitch: |cff00e0ffhttps://www.twitch.tv/codermik\n"
.."|cffffffffPayPal.Me: |cff00e0ffhttps://paypal.me/codermik\n\n"
Expand Down

0 comments on commit 10a4cdd

Please sign in to comment.