mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 16:34:45 +00:00
test AceGUIWidget-MultiLineEditBox
This commit is contained in:
@@ -285,9 +285,11 @@ local function ExportImport_Open(mode)
|
||||
box.editBox:SetScript("OnTextChanged", function()
|
||||
if this then
|
||||
box:SetText(exportString)
|
||||
box.editBox:HighlightText()
|
||||
this:HighlightText()
|
||||
end
|
||||
|
||||
box.scrollFrame:UpdateScrollChildRect()
|
||||
box.scrollFrame:SetVerticalScroll(box.scrollFrame:GetVerticalScrollRange())
|
||||
end)
|
||||
elseif mode == "import" then
|
||||
frame:SetTitle(L["Import Profile"])
|
||||
|
||||
@@ -217,9 +217,6 @@ local function OnSizeChanged() -- ScrollFrame
|
||||
end
|
||||
|
||||
local function OnTextChanged() -- EditBox
|
||||
this:UpdateScrollChildRect()
|
||||
this:UpdateScrollState()
|
||||
this:SetVerticalScroll(this:GetHeight())
|
||||
local self = this.obj
|
||||
local value = this:GetText()
|
||||
if tostring(value) ~= tostring(self.lasttext) then
|
||||
|
||||
Reference in New Issue
Block a user