Loading...
Forum Rules:
You may only create a new thread here if you have created a guide on how to do something with ElvUI. Do not create a thread here if you just want to ask how to do something.

How to Two-pixel borders

#1
Updated for Patch 8.0

Make a back-up before you go changing things!!!

First things first download Notepad++. Not my favorite tool for editing LUA but it's beginner friendly
https://notepad-plus-plus.org/

#1 Lets start easier…. Navigate to \ElvUI\Modules\unitframes and edit the unitframe.lua with Notepad++
SpoilerShow
change Line: 248

Code: Select all

 frame.SPACING = 0
Save

#2 Now to ElvUI\Modules\skins\blizzard edit objectivetracker.lua
SpoilerShow
Line 97 comment out by two – like so

Code: Select all

--bar:CreateBackdrop("Transparent")
Save!!!

#3 ElvUI\Core edit toolkit.lua
SpoilerShow
Line 140

Code: Select all

 tile = false, tileSize = 0, edgeSize = 1,
Line 141

Code: Select all

insets = { left = 0, right = 0, top = 0, bottom = 0}
Line 159

Code: Select all

border:SetInside(f, 0, 0)
Line 162

Code: Select all

edgeSize = 1,
Line 163

Code: Select all

insets = { left = 0, right = 0, top = 0, bottom = 0 }
Line 165

Code: Select all

border:SetBackdropBorderColor(0, 0, 0, 0)
Line170

Code: Select all

border:SetOutside(f, -1, -1)
Line 174

Code: Select all

edgeSize = 1,
Line 175

Code: Select all

insets = { left = 0, right = 0, top = 0, bottom = 0 }

**Bonus AddOn Skins **
SpoilerShow
AddOnSkins\Core\API.lua
Line 27

Code: Select all

 tile = false, tileSize = 0, edgeSize = 1,
Line 28

Code: Select all

insets = { left = 0, right = 0, top = 0, bottom = 0}, 
Line 31

Code: Select all

local Backdrop = { edgeFile = Texture, edgeSize = AS.Mult, insets = { left = 0, right = 0, top = 0, bottom = 0 } }
Line 40

Code: Select all

 Frame.OutsideBorder:SetOutside(Frame, 0, 0)

Now the best thing to do to keep this up to date is to keep a back of your files and when ElvUI is updated use the compare plug-in for Notepadd++ and update just these codes.

I have included a copy of these files here https://git.tukui.org/Cuppycake/TwoPixelBoarders
I will keep them updated more on git until Klix can make a plug-in. Please be patient making addon's is not a quick process and take a lot of trial and error.
Last edited by Cuppycake on Sat Sep 08, 2018 12:10 pm, edited 9 times in total.

Who is online

Users browsing this forum: No registered users and 2 guests