from retail
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
if not WeakAuras.IsLibsOK() then return end
|
||||
|
||||
local Type, Version = "WeakAurasMultiLineEditBox", 38
|
||||
local Type, Version = "WeakAurasMultiLineEditBox", 39
|
||||
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
|
||||
if not AceGUI or (AceGUI:GetWidgetVersion(Type) or 0) >= Version then return end
|
||||
|
||||
@@ -74,10 +74,15 @@ local function OnCursorChanged(self, _, y, _, cursorHeight)
|
||||
end
|
||||
end
|
||||
|
||||
local function OnEditFocusLost(self) -- EditBox
|
||||
self:HighlightText(0, 0)
|
||||
self.obj:Fire("OnEditFocusLost")
|
||||
self.obj.scrollFrame:EnableMouseWheel(false);
|
||||
local function OnEditFocusLost(frame) -- EditBox
|
||||
local self = frame.obj
|
||||
frame:HighlightText(0, 0)
|
||||
self:Fire("OnEditFocusLost")
|
||||
self.scrollFrame:EnableMouseWheel(false);
|
||||
local option = self.userdata.option
|
||||
if option and option.callbacks and option.callbacks.OnEditFocusLost then
|
||||
option.callbacks.OnEditFocusLost(self)
|
||||
end
|
||||
end
|
||||
|
||||
local function OnEnter(self) -- EditBox / ScrollFrame
|
||||
|
||||
Reference in New Issue
Block a user