WoWInterface - View Single Post - ScrollingMessageFrame and letters getting cut off
View Single Post
02-16-20, 12:23 PM   #2
A Defias Bandit
AddOn Author - Click to view addons
Join Date: Feb 2019
Posts: 3
I found a solution, for anyone running into the same issue. The ScrollingMessageFrame keeps an indexed table of visible lines, called visibleLines, where 1 (at least in my case, with insertMode 2) is the first one, and RefreshLayout gets called every time the frame gets resized, moved, etc.

Lua Code:
  1. hooksecurefunc(f, "RefreshLayout", function(self, ...)
  2.         if self.visibleLines[1] ~= nil then
  3.             self.visibleLines[1]:SetPoint("BOTTOMLEFT", 0, 2)
  4.         end
  5. end)

Where f is the SMF itself. Anyway, works for now!
  Reply With Quote