mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
@@ -107,7 +107,7 @@ local function ChatFrame_OnMouseScroll()
|
||||
CH:CancelTimer(this.ScrollTimer, true)
|
||||
end
|
||||
|
||||
this.ScrollTimer = CH:ScheduleTimer("ScrollToBottom", CH.db.scrollDownInterval, 1, this)
|
||||
this.ScrollTimer = CH:ScheduleTimer("ScrollToBottom", CH.db.scrollDownInterval, this)
|
||||
end
|
||||
end
|
||||
else
|
||||
@@ -133,7 +133,7 @@ local function ChatFrame_OnMouseScroll()
|
||||
CH:CancelTimer(this.ScrollTimer, true)
|
||||
end
|
||||
|
||||
this.ScrollTimer = CH:ScheduleTimer("ScrollToBottom", CH.db.scrollDownInterval, 1, this)
|
||||
this.ScrollTimer = CH:ScheduleTimer("ScrollToBottom", CH.db.scrollDownInterval, this)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -467,7 +467,7 @@ function mod:UpdateElement_All(frame, noTargetFrame)
|
||||
self:UpdateElement_Level(frame)
|
||||
|
||||
if not noTargetFrame then
|
||||
mod:ScheduleTimer("ForEachPlate", 0.25, 1, "SetTargetFrame")
|
||||
mod:ScheduleTimer("ForEachPlate", 0.25, "SetTargetFrame")
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -311,7 +311,7 @@ function S:SkinAce3()
|
||||
if TYPE == "ScrollFrame" then
|
||||
local frame = widget.scrollbar
|
||||
SkinScrollBar(frame)
|
||||
elseif TYPE == "InlineGroup" or TYPE == "TreeGroup" or TYPE == "TabGroup-ElvUI" or TYPE == "Frame" or TYPE == "DropdownGroup" or TYPE == "Window" then
|
||||
elseif TYPE == "InlineGroup" or TYPE == "TreeGroup" or TYPE == "TabGroup" or TYPE == "Frame" or TYPE == "DropdownGroup" or TYPE == "Window" then
|
||||
local frame = widget.content:GetParent()
|
||||
if TYPE == "Frame" then
|
||||
E:StripTextures(frame)
|
||||
@@ -378,16 +378,16 @@ function S:SkinAce3()
|
||||
end
|
||||
end
|
||||
|
||||
if TYPE == "TabGroup-ElvUI" then
|
||||
if TYPE == "TabGroup" then
|
||||
local oldCreateTab = widget.CreateTab
|
||||
widget.CreateTab = function(self, id)
|
||||
local tab = oldCreateTab(self, id)
|
||||
E:StripTextures(tab)
|
||||
tab.backdrop = CreateFrame("Frame", nil, tab)
|
||||
--[[tab.backdrop = CreateFrame("Frame", nil, tab)
|
||||
E:SetTemplate(tab.backdrop, "Transparent")
|
||||
tab.backdrop:SetFrameLevel(tab:GetFrameLevel() - 1)
|
||||
E:Point(tab.backdrop, "TOPLEFT", 10, -3)
|
||||
E:Point(tab.backdrop, "BOTTOMRIGHT", -10, 0)
|
||||
E:Point(tab.backdrop, "BOTTOMRIGHT", -10, 0)]]
|
||||
return tab
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user