Updates for patch 8.2.0.
Fixes "Destroy Bar" caused by an invalid sound file.
Cette révision appartient à :
Parent
9ece55c266
révision
018af1d6c0
3 fichiers modifiés avec 5 ajouts et 5 suppressions
|
@ -1105,7 +1105,7 @@ end
|
||||||
--]]
|
--]]
|
||||||
function Bar:DestroyBar()
|
function Bar:DestroyBar()
|
||||||
if (not InCombatLockdown()) then
|
if (not InCombatLockdown()) then
|
||||||
PlaySoundFile("Sound\\Spells\\Meltoretarget.Wav");
|
PlaySoundFile(569366); --sound/spells/meltoretarget.ogg
|
||||||
Util.DeallocateBar(self);
|
Util.DeallocateBar(self);
|
||||||
end
|
end
|
||||||
UILib.ToggleDestroyBarMode(true);
|
UILib.ToggleDestroyBarMode(true);
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
## Interface: 80000
|
## Interface: 80200
|
||||||
## Title: Button Forge
|
## Title: Button Forge
|
||||||
## Notes: Add as many or few extra Action Bars and Buttons to your user interface to complement the standard (or other) Action Bars
|
## Notes: Add as many or few extra Action Bars and Buttons to your user interface to complement the standard (or other) Action Bars
|
||||||
## Version: 0.9.50
|
## Version: 0.9.50.1
|
||||||
## Author: Massiner of Nathrezim
|
## Author: Massiner of Nathrezim
|
||||||
## SavedVariables: ButtonForgeGlobalSettings, ButtonForgeGlobalProfiles, ButtonForgeGlobalBackup
|
## SavedVariables: ButtonForgeGlobalSettings, ButtonForgeGlobalProfiles, ButtonForgeGlobalBackup
|
||||||
## SavedVariablesPerCharacter: ButtonForgeSave, BFSave
|
## SavedVariablesPerCharacter: ButtonForgeSave, BFSave
|
||||||
|
|
|
@ -35,7 +35,7 @@ function UILib.StartDraggingIcon(Icon, Width, Height, Command, Data, Subvalue, T
|
||||||
DragIcon.CustomCommand = Command;
|
DragIcon.CustomCommand = Command;
|
||||||
DragIcon.CustomData = Data;
|
DragIcon.CustomData = Data;
|
||||||
DragIcon.CustomSubvalue = Subvalue;
|
DragIcon.CustomSubvalue = Subvalue;
|
||||||
PlaySoundFile("Sound\\Interface\\Uspelliconpickup.Wav");
|
PlaySoundFile(567489); --sound/interface/uspelliconpickup.ogg
|
||||||
Util.CursorAction = true;
|
Util.CursorAction = true;
|
||||||
MiscFrame:OnEvent("ACTIONBAR_SHOWGRID"); --to cause the updates we want to happen
|
MiscFrame:OnEvent("ACTIONBAR_SHOWGRID"); --to cause the updates we want to happen
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ function UILib.StopDraggingIcon()
|
||||||
DragIcon.CustomCommand = nil;
|
DragIcon.CustomCommand = nil;
|
||||||
DragIcon.CustomData = nil;
|
DragIcon.CustomData = nil;
|
||||||
DragIcon.CustomSubvalue = nil;
|
DragIcon.CustomSubvalue = nil;
|
||||||
PlaySoundFile("Sound\\Interface\\Uspellicondrop.Wav");
|
PlaySoundFile(567524); --sound/interface/uspellicondrop.ogg
|
||||||
SetCursor(nil);
|
SetCursor(nil);
|
||||||
DragIcon:UnregisterEvent("CURSOR_UPDATE");
|
DragIcon:UnregisterEvent("CURSOR_UPDATE");
|
||||||
Util.CursorAction = false;
|
Util.CursorAction = false;
|
||||||
|
|
Référencer dans un nouveau ticket