Added an option to toggle between rounded and squared tooltips
This commit is contained in:
@@ -2281,7 +2281,7 @@ local iconFrame_OnEnter = function(self)
|
||||
GameCooltip:SetOption("StatusBarTexture", [[Interface\AddOns\Details\images\bar_skyline]])
|
||||
GameCooltip:SetOption("FixedHeight", height+11)
|
||||
GameCooltip:SetOption("LineHeightSizeOffset", -8)
|
||||
GameCooltip:ShowRoundedCorner()
|
||||
Details:AddRoundedCornerToTooltip()
|
||||
GameCooltip:ShowCooltip()
|
||||
|
||||
self.unitname = name
|
||||
@@ -6066,7 +6066,7 @@ local build_mode_list = function(self, deltaTime)
|
||||
gameCooltip:AddMenu(1, function() instance:SetMode(4) end)
|
||||
gameCooltip:AddIcon([[Interface\AddOns\Details\images\modo_icones]], 1, 1, 20, 20, 32/256*3, 32/256*4, 0, 1)
|
||||
|
||||
gameCooltip:ShowRoundedCorner()
|
||||
Details:AddRoundedCornerToTooltip()
|
||||
|
||||
--build raid plugins list
|
||||
local raidPlugins = Details.RaidTables:GetAvailablePlugins()
|
||||
@@ -6376,7 +6376,7 @@ local buildSegmentTooltip = function(self, deltaTime)
|
||||
gameCooltip:SetOption("RightTextHeight", 12)
|
||||
gameCooltip:SetOption("SubFollowButton", true)
|
||||
|
||||
gameCooltip:ShowRoundedCorner()
|
||||
Details:AddRoundedCornerToTooltip()
|
||||
|
||||
local menuIndex = 0
|
||||
Details.segments_amount = floor(Details.segments_amount)
|
||||
@@ -9091,7 +9091,7 @@ end
|
||||
|
||||
Details:SetMenuOwner(self, self.instance)
|
||||
|
||||
gameCooltip:ShowRoundedCorner()
|
||||
Details:AddRoundedCornerToTooltip()
|
||||
|
||||
gameCooltip:ShowCooltip()
|
||||
end
|
||||
@@ -9248,7 +9248,7 @@ local reportButton_OnEnter = function(self, motion, forced)
|
||||
|
||||
Details:SetTooltipMinWidth()
|
||||
|
||||
GameCooltip:ShowRoundedCorner()
|
||||
Details:AddRoundedCornerToTooltip()
|
||||
|
||||
Details:CheckLastReportsIntegrity()
|
||||
|
||||
@@ -9354,7 +9354,7 @@ local attributeButton_OnEnter = function(self, motion, forced, from_click)
|
||||
GameCooltip:SetOption("TextSize", Details.font_sizes.menus)
|
||||
Details:SetMenuOwner(self, instancia)
|
||||
|
||||
GameCooltip:ShowRoundedCorner()
|
||||
Details:AddRoundedCornerToTooltip()
|
||||
|
||||
GameCooltip:ShowCooltip()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user