Forum: PTR General Discussion
05-18-18, 12:36 PM
|
Replies: 13
Views: 19,525
I don't think that's...
I don't think that's true.
MainMenuBar:UnregisterEvent("DISPLAY_SIZE_CHANGED");
MainMenuBar:UnregisterEvent("UI_SCALE_CHANGED");
Write your own version of the function (or just copy it and run yours...
|
Forum: PTR General Discussion
05-17-18, 02:26 PM
|
Replies: 13
Views: 19,525
local availableSpace =...
local availableSpace = MicroButtonAndBagsBar:GetLeft() - 16;
scale = availableSpace / width;
self:SetScale(scale);
It's in the quoted code. If the leftmost point of the microbar is on the left side...
|