Hi,
I tried to reposition the WatchFrame without losing the position "autoupdate" if the Sidebars are enabled.
My goal was to change the default position (without sidebars) -50 vertically and if I tick on sidebars the WatchFrame moves a bit to the left.
This is all I got since I am pretty new to this.
Code:
WatchFrame:ClearAllPoints()
WatchFrame:SetPoint("TOPRIGHT", MinimapCluster, "BOTTOMRIGHT", 0, -50)
MultiBarRight:SetScript("OnUpdate", function()
WatchFrame:ClearAllPoints()
WatchFrame:SetPoint("TOPRIGHT", MinimapCluster, "BOTTOMRIGHT", -25, -50)
end)
MultiBarLeft:SetScript("OnUpdate", function()
WatchFrame:ClearAllPoints()
WatchFrame:SetPoint("TOPRIGHT", MinimapCluster, "BOTTOMRIGHT", -100, -50)
end)
This doesn't work though. The position is only correct if I have both sidebars enabled.