Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
fuba82
AddOnSkins
Commits
77d65ba3
Commit
77d65ba3
authored
Oct 10, 2020
by
Azilroka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ovale
parent
472c2ae4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
Skins/AddOns/Ovale.lua
Skins/AddOns/Ovale.lua
+15
-15
No files found.
Skins/AddOns/Ovale.lua
View file @
77d65ba3
...
...
@@ -3,23 +3,23 @@ local AS = unpack(AddOnSkins)
if
not
AS
:
CheckAddOn
(
'Ovale'
)
then
return
end
function
AS
:
Ovale
()
hooksecurefunc
(
LibStub
:
GetLibrary
(
"ovale/Icon"
).
OvaleIcon
,
'
OvaleIcon_OnLoad
'
,
function
(
self
)
hooksecurefunc
(
LibStub
:
GetLibrary
(
"ovale/Icon"
).
OvaleIcon
,
'
Update
'
,
function
(
self
)
AS
:
StripTextures
(
self
.
parent
.
frame
)
if
not
self
.
frame
.
Backdrop
then
AS
:
SkinBackdropFrame
(
self
.
frame
,
true
)
self
.
frame
.
Backdrop
:
SetFrameLevel
(
0
)
self
.
frame
.
Backdrop
:
SetAllPoints
()
self
.
frame
.
Backdrop
:
SetScale
(
AS
.
UIScale
)
end
if
self
.
shortcut
then
self
.
shortcut
:
ClearAllPoints
()
self
.
shortcut
:
SetPoint
(
'TOPLEFT'
,
self
.
frame
,
'TOPLEFT'
,
-
1
,
-
3
)
end
if
self
.
icone
then
AS
:
SkinTexture
(
self
.
icone
)
AS
:
SetInside
(
self
.
icone
)
end
if
not
self
.
frame
.
Backdrop
then
AS
:
SkinBackdropFrame
(
self
.
frame
,
true
)
self
.
frame
.
Backdrop
:
SetFrameLevel
(
0
)
self
.
frame
.
Backdrop
:
SetAllPoints
()
self
.
frame
.
Backdrop
:
SetScale
(
AS
.
UIScale
)
end
if
self
.
shortcut
then
self
.
shortcut
:
ClearAllPoints
()
self
.
shortcut
:
SetPoint
(
'TOPLEFT'
,
self
.
frame
,
'TOPLEFT'
,
-
1
,
-
3
)
end
if
self
.
icone
then
AS
:
SkinTexture
(
self
.
icone
)
AS
:
SetInside
(
self
.
icone
)
end
end
)
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment