mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-22 15:46:56 +00:00
9cabdf2974
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.