mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-27 01:46:03 +00:00
api: fix bug in border detection caching
This commit is contained in:
+1
-1
@@ -805,7 +805,7 @@ function pfUI.api.GetBorderSize(pref)
|
||||
if raw == -1 then raw = 3 end
|
||||
|
||||
local scaled = raw * GetPerfectPixel()
|
||||
pfUI.borders = { raw, scaled }
|
||||
pfUI.borders[pref] = { raw, scaled }
|
||||
|
||||
return raw, scaled
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user