Fix bug with non-hiding elements during pet battle
Apofixc opened this issue ยท 2 comments
local HIDE_MOST = {
GwStanceBarButton = "hidden",
StanceButton1 = "hidden",
StanceButton2 = "hidden",
StanceButton3 = "hidden",
StanceButton4 = "hidden",
StanceButton5 = "hidden",
StanceButton6 = "hidden",
-- Add new frames/ buttons to hide
}
FRAMELOCK_STATES.COMMENTATOR_SPECTATING_MODE = Mixin(FRAMELOCK_STATES.COMMENTATOR_SPECTATING_MODE, HIDE_MOST)
FRAMELOCK_STATES.PETBATTLES = Mixin(FRAMELOCK_STATES.PETBATTLES, HIDE_MOST)
Unused base frames can be removed for optimizations.