recentchat: fix scrollbar reference

i was developing on other API, and yeah in 3.3.5 regular API couldnt just .ScrollBar
This commit is contained in:
Sattva
2025-05-01 02:43:32 +03:00
parent 2e4f47c98e
commit f0efd020fa
+2 -1
View File
@@ -13242,7 +13242,8 @@
scroll:SetPoint("TOPLEFT", frame, "TOPLEFT", 26, -36)
scroll:SetPoint("BOTTOMRIGHT", frame, "BOTTOMRIGHT", -34, 8)
local sb = scroll.ScrollBar
local sb = scroll.ScrollBar or LeaPlusRecentChatScrollScrollBar
sb:ClearAllPoints()
sb:SetPoint("TOPLEFT", scroll, "TOPRIGHT", 3, -16)
sb:SetPoint("BOTTOMLEFT", scroll, "BOTTOMRIGHT", 3, 16)