Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ElvUI Project
ElvUI
Commits
f05c861b
Verified
Commit
f05c861b
authored
Mar 14, 2019
by
Simpy
🐹
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'development'
# Conflicts: # CHANGELOG.md # ElvUI/Core/Toolkit.lua
parents
735c85f4
f16794b7
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
8 deletions
+8
-8
ElvUI/Core/PixelPerfect.lua
ElvUI/Core/PixelPerfect.lua
+1
-1
ElvUI/Core/Toolkit.lua
ElvUI/Core/Toolkit.lua
+2
-4
ElvUI/ElvUI.toc
ElvUI/ElvUI.toc
+1
-1
ElvUI/Modules/Nameplates/Nameplates.lua
ElvUI/Modules/Nameplates/Nameplates.lua
+1
-0
ElvUI/Settings/Global.lua
ElvUI/Settings/Global.lua
+1
-1
ElvUI/init.lua
ElvUI/init.lua
+2
-1
No files found.
ElvUI/Core/PixelPerfect.lua
View file @
f05c861b
...
...
@@ -31,7 +31,7 @@ function E:UIScale(init)
E
.
mult
=
(
bestScale
/
scale
)
-
((
bestScale
-
pixelScale
)
/
scale
)
E
.
Spacing
=
(
E
.
PixelMode
and
0
)
or
E
.
mult
E
.
Border
=
(
E
.
PixelMode
and
E
.
mult
)
or
E
.
mult
*
2
E
.
Border
=
(
(
not
E
.
twoPixelsPlease
)
and
E
.
PixelMode
and
E
.
mult
)
or
E
.
mult
*
2
else
--E.Initialize
local
UIParent
=
_G
.
UIParent
UIParent
:
SetScale
(
scale
)
...
...
ElvUI/Core/Toolkit.lua
View file @
f05c861b
...
...
@@ -48,9 +48,7 @@ local function customSetBackdrop(frame, giveBorder, bgFile, edgeSize, insetLeft,
end
local
function
customBackdropColor
(
frame
,
r
,
g
,
b
,
a
,
skip
)
if
skip
==
'ElvUI'
then
return
elseif
frame
.
pixelBorders
then
if
frame
.
pixelBorders
and
skip
~=
'ElvUI'
then
frame
.
pixelBorders
.
CENTER
:
SetVertexColor
(
r
,
g
,
b
,
a
)
frame
:
SetBackdropColor
(
r
,
g
,
b
,
0
,
'ElvUI'
)
end
...
...
@@ -191,7 +189,7 @@ local function SetTemplate(f, t, glossTex, ignoreUpdates, forcePixelMode, isUnit
if
t
==
'NoBackdrop'
then
customSetBackdrop
(
f
)
else
customSetBackdrop
(
f
,
true
,
glossTex
and
(
type
(
glossTex
)
==
'string'
and
glossTex
or
E
.
media
.
glossTex
)
or
E
.
media
.
blankTex
,
E
.
mult
)
customSetBackdrop
(
f
,
true
,
glossTex
and
(
type
(
glossTex
)
==
'string'
and
glossTex
or
E
.
media
.
glossTex
)
or
E
.
media
.
blankTex
,
(
not
E
.
twoPixelsPlease
and
E
.
mult
)
or
E
.
mult
*
2
)
if
not
f
.
ignoreBackdropColors
then
if
t
==
'Transparent'
then
...
...
ElvUI/ElvUI.toc
View file @
f05c861b
## Interface: 80100
## Author: Elv
## Version: 11.0
3
## Version: 11.0
4
## Title: |cfffe7b2cElvUI|r
## Notes: User Interface replacement AddOn for World of Warcraft.
## SavedVariables: ElvDB, ElvPrivateDB
...
...
ElvUI/Modules/Nameplates/Nameplates.lua
View file @
f05c861b
...
...
@@ -554,6 +554,7 @@ function NP:Initialize()
_G
.
ElvNP_TargetClassPower
.
frameType
=
'TARGET'
_G
.
ElvNP_TargetClassPower
:
SetAttribute
(
'toggleForVehicle'
,
true
)
_G
.
ElvNP_TargetClassPower
:
SetAlpha
(
0
)
_G
.
ElvNP_TargetClassPower
:
EnableMouse
(
false
)
local
NamePlatesCVars
=
{
[
'nameplateClassResourceTopInset'
]
=
GetCVarDefault
(
'nameplateClassResourceTopInset'
),
...
...
ElvUI/Settings/Global.lua
View file @
f05c861b
...
...
@@ -3,7 +3,7 @@ local E, L, V, P, G = unpack(select(2, ...)); --Import: Engine, Locales, Private
--Global Settings
G
.
general
=
{
UIScale
=
0
.
64
,
version
=
11
.
0
3
,
version
=
11
.
0
4
,
eyefinity
=
false
,
smallerWorldMap
=
true
,
smallerWorldMapScale
=
0
.
9
,
...
...
ElvUI/init.lua
View file @
f05c861b
...
...
@@ -146,8 +146,9 @@ function AddOn:OnInitialize()
end
end
self
.
twoPixelsPlease
=
false
self
.
ScanTooltip
=
CreateFrame
(
"GameTooltip"
,
"ElvUI_ScanTooltip"
,
_G
.
UIParent
,
"GameTooltipTemplate"
)
self
.
PixelMode
=
self
.
private
.
general
.
pixelPerfect
-- keep this over `UIScale`
self
.
PixelMode
=
self
.
twoPixelsPlease
or
self
.
private
.
general
.
pixelPerfect
-- keep this over `UIScale`
self
:
UIScale
(
true
)
self
:
UpdateMedia
()
self
:
RegisterEvent
(
'PLAYER_REGEN_DISABLED'
)
...
...
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