local T = DecursiveRootTable or {};
if T._SelfDiagnostic() ~= 2 then
Dcr:DisplayTooltip(
string.format(
"|cFF0055AA%s|r %s by %s|r\n" ..
--"|cFF11FF11%s|r: %s\n" ..
"|cFF11FF11%s|r / |cFF11FF11%s|r-|cFF11FF11%s|r: %s"
, Dcr.name, Dcr.version, Dcr.author,
--Dcr.L["HLP_RIGHTCLICK"], Dcr.L["STR_OPTIONS"],
Dcr.L["HLP_MIDDLECLICK"], Dcr.L["SHIFT"], Dcr.L["HLP_LEFTCLICK"],
Dcr.L["HIDESHOW_BUTTONS"]
)
, self);
end
DcrDisplay_Tooltip:Hide();
if ( self.isMoving ) then
self:StopMovingOrSizing();
self.isMoving = false;
end
Dcr:SaveLLPos();
if ( ( ( not self.isLocked ) or ( self.isLocked == 0 ) or IsAltKeyDown()) and ( button == "LeftButton" ) ) then
self:StartMoving();
self.isMoving = true;
end
if (button == "MiddleButton" or button == "LeftButton" and IsShiftKeyDown()) then
Dcr:ShowHideButtons();
end
if ( self.isMoving ) then
self:StopMovingOrSizing();
self.isMoving = false;
end
self:RegisterEvent("ADDON_LOADED");
if event == "ADDON_LOADED" and (...) == "Decursive" then
local T = DecursiveRootTable or {};
T._SelfDiagnostic();
self:UnregisterEvent("ADDON_LOADED");
end