mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-11 08:00:01 +00:00
Revert the pixel-perfect scale change
GetPerfectPixel switched to UIParent:GetEffectiveScale(), which reports the true unclamped scale (e.g. 1.42 on the larger pixelperfect presets, since the module calls UIParent:SetScale past the uiScale cvar's 1.0 cap). At that scale 768/screenheight/scale drops below half a pixel and the border edgeSize rounds to zero, so button borders disappeared. The uiScale cvar's <=1.0 cap was load-bearing, not a bug: it keeps the 1px borders from vanishing. Restore the cvar-based measurement and move pixelperfect back to its original load position.
This commit is contained in:
+1
-3
@@ -1,7 +1,4 @@
|
||||
<Ui xmlns="http://www.blizzard.com/wow/ui/">
|
||||
<!-- pixelperfect must load first: it sets the UI scale that GetPerfectPixel
|
||||
measures a real pixel against, and that value is cached on first use. -->
|
||||
<Include file="..\modules\pixelperfect.lua"/>
|
||||
<Include file="..\modules\gui.lua"/>
|
||||
<Include file="..\modules\unlock.lua"/>
|
||||
<Include file="..\modules\hoverbind.lua"/>
|
||||
@@ -56,6 +53,7 @@
|
||||
<Include file="..\modules\gm.lua"/>
|
||||
<Include file="..\modules\mirrortimers.lua"/>
|
||||
<Include file="..\modules\feigndeath.lua"/>
|
||||
<Include file="..\modules\pixelperfect.lua"/>
|
||||
<Include file="..\modules\hdgraphic.lua"/>
|
||||
<Include file="..\modules\share.lua"/>
|
||||
<Include file="..\modules\tracking.lua"/>
|
||||
|
||||
Reference in New Issue
Block a user