Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator
2,564
edits
(change the image, rather than the sprite sheet (cross sprite sheets attempt #2)) |
m (how's this?) |
||
Line 196: | Line 196: | ||
function Sprite:SetLore(text) | function Sprite:SetLore(text) | ||
self.__settings.lore = text | self.__settings.lore = text | ||
return self | |||
end | |||
function Sprite:HideTooltip() | |||
self.__settings.hideTooltip = true | |||
return self | return self | ||
end | end | ||
Line 239: | Line 244: | ||
sprite:addClass("sprite") | sprite:addClass("sprite") | ||
sprite:addClass("masterTooltip") | |||
if self.__settings.hideTooltip ~= true then | |||
sprite:addClass("masterTooltip") | |||
end | |||
local source = self.__source | local source = self.__source |
edits