View Single Post
12/16/23, 04:36 PM   #10
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,989
Sorry, you asked how to fix that after jumping to a new zone.
So I assumed you wanted to know how to resize it to normal.
What if you just repeat /script ZO_ActionBar1:SetScale(2) after zoning?

Or first /script ZO_ActionBar1:SetScale(1) and afterwards /script ZO_ActionBar1:SetScale(2) ?


If chaning to scale 1 and then scale 2 fixes it you can add it directly to any addOn's
EVENT_PLAYER_ACTIVATED event call back via

This event will be loaded after login and after each zoning, or reloadui

Lua Code:
  1. EVENT_MANAGER:RegisterForEvent("NameOfAddonHere", EVENT_PLAYER_ACTIVATED , function(eventId)
  2.    ZO_ActionBar1:SetScale(1)
  3.    ZO_ActionBar1:SetScale(2)
  4. end)
  Reply With Quote