Closed tyrival closed 1 month ago
wa在某个版本后禁止了ndui修改边框素材,之前一直是通过修改 World of Warcraft Classic_classic_\Interface\AddOns\WeakAuras\RegionTypes\RegionPrototype.lua 在13行增加 WeakAuras.regionPrototype = Private.regionPrototype
刚听说ndp提供了修改方案,不用改wa源码了,请问下应该怎么做
https://github.com/Witnesscm/NDui_Plus/wiki/WeakAuras2%E2%80%90%E7%9A%AE%E8%82%A4%E2%80%90%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98/893a20848c410a6410fc3f9220c0512478734c0e
找到了,这个办法失效了代码要改成这个, WeakAuras.Private = Private
https://github.com/Witnesscm/NDui_Plus/wiki/WeakAuras2%E2%80%90%E7%9A%AE%E8%82%A4%E2%80%90%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98
写的很清楚了,现在的改动是为了适配WeakAurasPatched,不需要每次修改代码
wa在某个版本后禁止了ndui修改边框素材,之前一直是通过修改 World of Warcraft Classic_classic_\Interface\AddOns\WeakAuras\RegionTypes\RegionPrototype.lua 在13行增加 WeakAuras.regionPrototype = Private.regionPrototype
刚听说ndp提供了修改方案,不用改wa源码了,请问下应该怎么做