From fc377ecbd8e5218d3a483fcc43a88c02e4a1369a Mon Sep 17 00:00:00 2001 From: Val Voronov Date: Wed, 9 Nov 2022 21:45:46 +0700 Subject: [PATCH 01/12] Update README --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1bcae4d..5a1bf15 100755 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # LS: Glass -Smooth as glass. +Replacement for the default chat. Smooth as glass! ![Imgur](https://i.imgur.com/8lj13ch.gif) @@ -23,8 +23,11 @@ Feel free to add and/or review translations on [Curse](https://www.curseforge.co ## FAQ -**Q:** How is this addon related to Glass by mixxorz? -**A:** Originally, the goal was to take over that addon and maintain it. However, after reviewing the original code to figure out what I needed to do to update it for the Dragonflight expansion I decided to start from scratch. But it's fair to say that the addon is inspired by Glass, hence its name. +**`Q:`** How is this addon related to Glass by mixxorz? +**`A:`** Originally, the goal was to take over that addon and maintain it. However, after reviewing the original code to figure out what I needed to do to update it for the Dragonflight expansion I decided to start from scratch. But it's fair to say that the addon is inspired by Glass, hence its name. + +**`Q:`** How do I move and/or resize the chat frame? +**`A:`** Use "Edit Mode". There's a tiny triangle in the bottom right corner of the "Chat Frame" mover that's used for resizing. Hopefully, Blizz will change it to something more noticeable in the future. ## License From 263b2cf7ac20a0adf7f4243e6a95efd25804979a Mon Sep 17 00:00:00 2001 From: Val Voronov Date: Wed, 9 Nov 2022 21:46:36 +0700 Subject: [PATCH 02/12] Update README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5a1bf15..77a4b3b 100755 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Feel free to add and/or review translations on [Curse](https://www.curseforge.co **`Q:`** How is this addon related to Glass by mixxorz? **`A:`** Originally, the goal was to take over that addon and maintain it. However, after reviewing the original code to figure out what I needed to do to update it for the Dragonflight expansion I decided to start from scratch. But it's fair to say that the addon is inspired by Glass, hence its name. -**`Q:`** How do I move and/or resize the chat frame? +**`Q:`** How do I move and/or resize the chat frame? **`A:`** Use "Edit Mode". There's a tiny triangle in the bottom right corner of the "Chat Frame" mover that's used for resizing. Hopefully, Blizz will change it to something more noticeable in the future. ## License From 258815bfd9865fa37296ce4c53f0dc1bd49a960a Mon Sep 17 00:00:00 2001 From: Val Voronov Date: Wed, 9 Nov 2022 23:39:27 +0700 Subject: [PATCH 03/12] Fix dock fading --- ls_Glass/core/components/slidingmessageframe.lua | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/ls_Glass/core/components/slidingmessageframe.lua b/ls_Glass/core/components/slidingmessageframe.lua index c6cd89f..01910b8 100644 --- a/ls_Glass/core/components/slidingmessageframe.lua +++ b/ls_Glass/core/components/slidingmessageframe.lua @@ -686,15 +686,13 @@ do E:StopFading(frame.ChatTab, 1) E:StopFading(frame.ButtonFrame, 1) - - -- ? I don't like this... Should I attach to the first frame? - if i == 1 then - LSGlassUpdater.isMouseOver = nil - - E:StopFading(GeneralDockManager, 1) - end end end + + -- ? I don't like this... Should I attach to the first frame? + LSGlassUpdater.isMouseOver = nil + + E:StopFading(GeneralDockManager, 1) end function E:ResetSlidingFrameChatFading() From d3a36dc02a0933cd75c8f32e957f82f3e3263cdd Mon Sep 17 00:00:00 2001 From: Val Voronov Date: Thu, 10 Nov 2022 00:15:04 +0700 Subject: [PATCH 04/12] Add x/y padding as options --- ls_Glass/core/components/messageline.lua | 28 ++++++++++++----- .../core/components/slidingmessageframe.lua | 2 +- ls_Glass/core/defaults.lua | 2 ++ ls_Glass/init.lua | 30 +++++++++++++++++-- ls_Glass/locales/enUS.lua | 2 ++ ls_Glass/locales/ruRU.lua | 2 ++ 6 files changed, 56 insertions(+), 10 deletions(-) diff --git a/ls_Glass/core/components/messageline.lua b/ls_Glass/core/components/messageline.lua index 2a58ff7..6cc9121 100644 --- a/ls_Glass/core/components/messageline.lua +++ b/ls_Glass/core/components/messageline.lua @@ -15,7 +15,7 @@ do self.Text:SetText(text) self.Text:SetTextColor(r or 1, g or 1, b or 1, a) - self:SetHeight(self.Text:GetStringHeight() + 4) + self:SetHeight(self.Text:GetStringHeight() + C.db.profile.chat.y_padding * 2) end function message_line_proto:UpdateGradient() @@ -30,15 +30,15 @@ local function createMessageLine(parent) local width = parent:GetWidth() local frame = Mixin(CreateFrame("Frame", nil, parent, "LSGlassHyperlinkPropagator"), message_line_proto) - frame:SetSize(width, C.db.profile.chat.font.size + 4) + frame:SetSize(width, C.db.profile.chat.font.size + C.db.profile.chat.y_padding * 2) frame:SetAlpha(0) frame:Hide() E:CreateGradientBackground(frame, E:Round(width * 0.1), E:Round(width * 0.5), 0, 0, 0, C.db.profile.chat.alpha) frame.Text = frame:CreateFontString(nil, "ARTWORK", "LSGlassMessageFont") - frame.Text:SetPoint("LEFT", 15, 0) - frame.Text:SetPoint("RIGHT", -15, 0) + frame.Text:SetPoint("LEFT", C.db.profile.chat.x_padding, 0) + frame.Text:SetPoint("RIGHT", -C.db.profile.chat.x_padding, 0) return frame end @@ -47,7 +47,7 @@ local function resetMessageLine(messageLine, parent) messageLine.Text:SetText("") messageLine:ClearAllPoints() messageLine:Hide() - messageLine:SetSize(parent:GetWidth(), C.db.profile.chat.font.size + 4) + messageLine:SetSize(parent:GetWidth(), C.db.profile.chat.font.size + C.db.profile.chat.y_padding * 2) messageLine:UpdateGradient() E:StopFading(messageLine, 0) end @@ -79,11 +79,25 @@ end function E:UpdateMessageLinesHeights() for _, pool in next, pools do for messageLine in pool:EnumerateActive() do - messageLine:SetHeight(messageLine.Text:GetStringHeight() + 4) + messageLine:SetHeight(messageLine.Text:GetStringHeight() + C.db.profile.chat.y_padding * 2) end for _, messageLine in pool:EnumerateInactive() do - messageLine:SetHeight(messageLine.Text:GetStringHeight() + 4) + messageLine:SetHeight(messageLine.Text:GetStringHeight() + C.db.profile.chat.y_padding * 2) + end + end +end + +function E:UpdateMessageLinesHorizPadding() + for _, pool in next, pools do + for messageLine in pool:EnumerateActive() do + messageLine.Text:SetPoint("LEFT", C.db.profile.chat.x_padding, 0) + messageLine.Text:SetPoint("RIGHT", -C.db.profile.chat.x_padding, 0) + end + + for _, messageLine in pool:EnumerateInactive() do + messageLine.Text:SetPoint("LEFT", C.db.profile.chat.x_padding, 0) + messageLine.Text:SetPoint("RIGHT", -C.db.profile.chat.x_padding, 0) end end end diff --git a/ls_Glass/core/components/slidingmessageframe.lua b/ls_Glass/core/components/slidingmessageframe.lua index 01910b8..c35f8a1 100644 --- a/ls_Glass/core/components/slidingmessageframe.lua +++ b/ls_Glass/core/components/slidingmessageframe.lua @@ -325,7 +325,7 @@ function object_proto:ReleaseMessageLine(messageLine) end function object_proto:GetMaxMessages() - return m_ceil(self.ChatFrame:GetHeight() / (C.db.profile.chat.font.size + 4)) + return m_ceil(self.ChatFrame:GetHeight() / (C.db.profile.chat.font.size + C.db.profile.chat.y_padding * 2)) end function object_proto:ScrollTo(index, refreshFading, tryToFadeIn) diff --git a/ls_Glass/core/defaults.lua b/ls_Glass/core/defaults.lua index 1ab748c..230e986 100644 --- a/ls_Glass/core/defaults.lua +++ b/ls_Glass/core/defaults.lua @@ -21,6 +21,8 @@ D.profile = { alpha = 0.4, tooltips = true, slide_in_duration = 0.3, + x_padding = 14, + y_padding = 2, font = { size = 12, shadow = true, diff --git a/ls_Glass/init.lua b/ls_Glass/init.lua index f734c3f..1a24ab1 100644 --- a/ls_Glass/init.lua +++ b/ls_Glass/init.lua @@ -106,14 +106,40 @@ function E:OnInitialize() end end, }, - slide_in_duration = { + x_padding = { order = 2, type = "range", + name = L["X_PADDING"], + min = 0, max = 20, step = 1, + set = function(_, value) + if C.db.profile.chat.x_padding ~= value then + C.db.profile.chat.x_padding = value + + E:UpdateMessageLinesHorizPadding() + end + end, + }, + y_padding = { + order = 3, + type = "range", + name = L["Y_PADDING"], + min = 0, max = 10, step = 1, + set = function(_, value) + if C.db.profile.chat.y_padding ~= value then + C.db.profile.chat.y_padding = value + + E:UpdateMessageLinesHeights() + end + end, + }, + slide_in_duration = { + order = 4, + type = "range", name = L["SLIDE_IN_DURATION"], min = 0, max = 1, step = 0.05, }, tooltips = { - order = 3, + order = 5, type = "toggle", name = L["MOUSEOVER_TOOLTIPS"], }, diff --git a/ls_Glass/locales/enUS.lua b/ls_Glass/locales/enUS.lua index 680ef28..7a74773 100644 --- a/ls_Glass/locales/enUS.lua +++ b/ls_Glass/locales/enUS.lua @@ -45,3 +45,5 @@ L["SIZE"] = "Size" L["SLIDE_IN_DURATION"] = "Slide In Duration" L["SUPPORT"] = "Support" L["UNREAD_MESSAGES"] = "|TInterface\\CHATFRAME\\UI-ChatWhisperIcon:0:|t Unread Messages" +L["X_PADDING"] = "Horizontal Padding" +L["Y_PADDING"] = "Vertical Padding" diff --git a/ls_Glass/locales/ruRU.lua b/ls_Glass/locales/ruRU.lua index c867b78..e34c22e 100644 --- a/ls_Glass/locales/ruRU.lua +++ b/ls_Glass/locales/ruRU.lua @@ -31,3 +31,5 @@ L["SIZE"] = "Размер" L["SLIDE_IN_DURATION"] = "Продолжительность скольжения" L["SUPPORT"] = "Поддержка" L["UNREAD_MESSAGES"] = "|TInterface\\CHATFRAME\\UI-ChatWhisperIcon:0:|t Новые сообщения" +L["X_PADDING"] = "Внутренний гориз. отступ" +L["Y_PADDING"] = "Внутренний верт. отступ" From 825c92bf8ea135a47d1a1800553ffb74e8473b86 Mon Sep 17 00:00:00 2001 From: Val Voronov Date: Thu, 10 Nov 2022 00:17:21 +0700 Subject: [PATCH 05/12] =?UTF-8?q?=F0=9F=91=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ls_Glass/locales/frFR.lua | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/ls_Glass/locales/frFR.lua b/ls_Glass/locales/frFR.lua index 932f07a..442f7e3 100644 --- a/ls_Glass/locales/frFR.lua +++ b/ls_Glass/locales/frFR.lua @@ -1,4 +1,4 @@ --- Contributors: +-- Contributors: Braincell1980@Curse local _, ns = ... local L = ns.L @@ -7,3 +7,27 @@ local L = ns.L local _G = getfenv(0) if GetLocale() ~= "frFR" then return end + +L["BACKGROUND_ALPHA"] = "Opacité du fond" +L["CHANGELOG"] = "Liste des changements " +L["CHANGELOG_FULL"] = "Tout" +L["CONFIG_WARNING"] = "Je recommande fortement de |cffffd200/reload|r l'interface utilisateur une fois que vous avez terminé de configurer l'addon ou même d'ouvrir ce panneau pour éviter toute erreur pendant un combat." +L["DOCK_AND_EDITBOX"] = "Onglets et Zone d'édition" +L["DOWNLOADS"] = "Téléchargements" +L["FADE_IN_DURATION"] = "Durée du Fondu entrant" +L["FADE_OUT_DELAY"] = "Délais du Fondu sortant" +L["FADE_OUT_DURATION"] = "Durée du Fondu sortant" +L["FADING"] = "Fondu" +L["FONT"] = "Police" +L["FONT_EDITBOX"] = "Police de la Zone d'édition" +L["JUMP_TO_PRESENT"] = "Passer au présent" +L["MESSAGES"] = "Messages" +L["MOUSEOVER_TOOLTIPS"] = "Infobulle au survol de la souris" +L["OPEN_CONFIG"] = "Ouvrir la configuration" +L["OUTLINE"] = "Contour" +L["PERSISTENT"] = "Persistent" +L["SHADOW"] = "Ombre" +L["SIZE"] = "Taille" +L["SLIDE_IN_DURATION"] = "Durée d'apparition" +L["SUPPORT"] = "Assistance" +L["UNREAD_MESSAGES"] = "|TInterface\\CHATFRAME\\UI-ChatWhisperIcon:0:|t Messages non lu" From cd1b3f49fac2573241d5120c4589891954fc85a9 Mon Sep 17 00:00:00 2001 From: Val Voronov Date: Thu, 10 Nov 2022 01:50:47 +0700 Subject: [PATCH 06/12] =?UTF-8?q?=F0=9F=92=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ls_Glass/core/components/slidingmessageframe.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ls_Glass/core/components/slidingmessageframe.lua b/ls_Glass/core/components/slidingmessageframe.lua index c35f8a1..96b8b71 100644 --- a/ls_Glass/core/components/slidingmessageframe.lua +++ b/ls_Glass/core/components/slidingmessageframe.lua @@ -200,7 +200,7 @@ function object_proto:CaptureChatFrame(chatFrame) chatFrame:SetClampedToScreen(false) chatFrame:SetClampRectInsets(0, 0, 0, 0) - chatFrame:SetResizeBounds(CHAT_FRAME_MIN_WIDTH, CHAT_FRAME_NORMAL_MIN_HEIGHT) + chatFrame:SetResizeBounds(176, 64) chatFrame:EnableMouse(false) E:ForceHide(chatFrame.ScrollBar) From 77d54bbb52614de1d4f8919cbfaf0583615e695a Mon Sep 17 00:00:00 2001 From: Val Voronov Date: Thu, 10 Nov 2022 02:14:32 +0700 Subject: [PATCH 07/12] Fix fasting forward --- .../core/components/slidingmessageframe.lua | 63 +++++++++++-------- 1 file changed, 37 insertions(+), 26 deletions(-) diff --git a/ls_Glass/core/components/slidingmessageframe.lua b/ls_Glass/core/components/slidingmessageframe.lua index 96b8b71..c1a8f2c 100644 --- a/ls_Glass/core/components/slidingmessageframe.lua +++ b/ls_Glass/core/components/slidingmessageframe.lua @@ -86,24 +86,7 @@ local scroll_down_button_proto = {} do function scroll_down_button_proto:OnClick() local frame = self:GetParent() - local num = m_min(frame:GetNumHistoryElements(), frame:GetMaxMessages(), frame:GetFirstMessageIndex()) - - frame:ScrollTo(num, true) - - if num == frame:GetFirstMessageIndex() then - num = num + 1 - end - - local messages = {} - for i = num - 1, 1, -1 do - local messageInfo = frame:GetHistoryEntryAtIndex(i) - if messageInfo then - t_insert(messages, {messageInfo.message, messageInfo.r, messageInfo.g, messageInfo.b}) - end - end - - frame:SetFirstMessageIndex(0) - frame:ProcessIncoming(messages, true) + frame:FastForward() E:FadeOut(self, 0, 0.1, function() self:SetText(L["JUMP_TO_PRESENT"], true) @@ -265,12 +248,7 @@ end function object_proto:OnShow() LibEasing:StopEasing(self:GetScrollingHandler()) self:SetScrollingHandler(nil) - - self:SetVerticalScroll(0) - self:ScrollTo(self:GetFirstMessageIndex(), true) - - self:SetFirstMessageIndex(0) - self:ProcessIncoming({t_removemulti(self.incomingMessages, 1, #self.incomingMessages)}, true) + self:FastForward() self.ScrollDownButon:Hide() end @@ -278,6 +256,9 @@ end function object_proto:OnHide() LibEasing:StopEasing(self:GetScrollingHandler()) self:SetScrollingHandler(nil) + + t_wipe(self.visibleLines) + self:ReleaseAllMessageLines() end function object_proto:GetNumHistoryElements() @@ -348,7 +329,6 @@ function object_proto:ScrollTo(index, refreshFading, tryToFadeIn) end -- bail out if we're beyond the frame capacity - if not messageLine:GetBottom() then break end if messageLine:GetBottom() > self:GetTop() then break end local messageInfo = self:GetHistoryEntryAtIndex(index + i) @@ -400,6 +380,33 @@ function object_proto:ScrollTo(index, refreshFading, tryToFadeIn) self:SetFirstMessageIndex(index) end +function object_proto:FastForward() + if self:GetNumHistoryElements() > 0 then + t_wipe(self.incomingMessages) + + local num = m_min(self:GetNumHistoryElements(), self:GetMaxMessages(), self:GetFirstMessageIndex()) + if num == 0 then return end + + self:SetVerticalScroll(0) + self:ScrollTo(num, true) + + if num == self:GetFirstMessageIndex() then + num = num + 1 + end + + local messages = {} + for i = num - 1, 1, -1 do + local messageInfo = self:GetHistoryEntryAtIndex(i) + if messageInfo then + t_insert(messages, {messageInfo.message, messageInfo.r, messageInfo.g, messageInfo.b}) + end + end + + self:ProcessIncoming(messages, true) + self:SetFirstMessageIndex(0) + end +end + function object_proto:Refresh(delta, refreshFading, tryToFadeIn) if not self:IsShown() then return end @@ -461,6 +468,10 @@ function object_proto:AddMessage(_, ...) t_insert(self.incomingMessages, {...}) end + else + -- the frame might be hidden due to a bunch of factors, just bump the index of + -- the first message, OnShow will take care of the rest + self:SetFirstMessageIndex(self:GetFirstMessageIndex() + 1) end end @@ -609,7 +620,7 @@ function object_proto:ProcessIncoming(incoming, doNotFade) function() self:SetVerticalScroll(0) self:Refresh(0, doNotFade) - self:SetScrollingHandler() + self:SetScrollingHandler(nil) end )) end From ff50281d2d5a2bbc20e7fd087594a64e01ec2145 Mon Sep 17 00:00:00 2001 From: Val Voronov Date: Thu, 10 Nov 2022 02:16:11 +0700 Subject: [PATCH 08/12] Fix message line resizing --- ls_Glass/core/components/messageline.lua | 16 +++++++++------- ls_Glass/core/components/slidingmessageframe.lua | 12 ++++++++++-- 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/ls_Glass/core/components/messageline.lua b/ls_Glass/core/components/messageline.lua index 6cc9121..a9a6519 100644 --- a/ls_Glass/core/components/messageline.lua +++ b/ls_Glass/core/components/messageline.lua @@ -43,25 +43,27 @@ local function createMessageLine(parent) return frame end -local function resetMessageLine(messageLine, parent) +local function resetMessageLine(messageLine) messageLine.Text:SetText("") messageLine:ClearAllPoints() messageLine:Hide() - messageLine:SetSize(parent:GetWidth(), C.db.profile.chat.font.size + C.db.profile.chat.y_padding * 2) - messageLine:UpdateGradient() E:StopFading(messageLine, 0) end local pools = {} function E:CreateMessageLinePool(parent) - return CreateObjectPool(function(pool) - t_insert(pools, pool) - + local pool = CreateObjectPool(function() return createMessageLine(parent) end, function(_, messageLine) - resetMessageLine(messageLine, parent) + resetMessageLine(messageLine) end) + + pool.parent = parent + + t_insert(pools, pool) + + return pool end function E:UpdateMessageLinesBackgrounds() diff --git a/ls_Glass/core/components/slidingmessageframe.lua b/ls_Glass/core/components/slidingmessageframe.lua index c1a8f2c..2490f91 100644 --- a/ls_Glass/core/components/slidingmessageframe.lua +++ b/ls_Glass/core/components/slidingmessageframe.lua @@ -40,8 +40,16 @@ local function chatFrame_OnSizeChanged(self, width, height) t_wipe(slidingFrame.visibleLines) - if slidingFrame:GetNumActiveMessageLines() > 0 then - slidingFrame:ReleaseAllMessageLines() + -- TODO: Refactor it later... + if slidingFrame.messageFramePool then + if slidingFrame:GetNumActiveMessageLines() > 0 then + slidingFrame:ReleaseAllMessageLines() + end + + for _, messageLine in slidingFrame.messageFramePool:EnumerateInactive() do + messageLine:SetWidth(width) + messageLine:SetGradientBackgroundSize(E:Round(width * 0.1), E:Round(width * 0.4)) + end end slidingFrame:SetFirstMessageIndex(0) From 2941ae413130681915a099de6948cc0796798e5b Mon Sep 17 00:00:00 2001 From: Val Voronov Date: Thu, 10 Nov 2022 02:17:15 +0700 Subject: [PATCH 09/12] =?UTF-8?q?=F0=9F=A7=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ls_Glass/core/components/slidingmessageframe.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ls_Glass/core/components/slidingmessageframe.lua b/ls_Glass/core/components/slidingmessageframe.lua index 2490f91..3f6079f 100644 --- a/ls_Glass/core/components/slidingmessageframe.lua +++ b/ls_Glass/core/components/slidingmessageframe.lua @@ -699,7 +699,7 @@ do end function E:ResetSlidingFrameDockFading() - for i, frame in next, frames do + for _, frame in next, frames do if frame:IsShown() then frame.isMouseOver = nil From 85ae97f4c17267dfc95273b3fab164ecaea6c22d Mon Sep 17 00:00:00 2001 From: Val Voronov Date: Thu, 10 Nov 2022 02:23:26 +0700 Subject: [PATCH 10/12] =?UTF-8?q?=F0=9F=98=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ls_Glass/core/components/slidingmessageframe.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ls_Glass/core/components/slidingmessageframe.lua b/ls_Glass/core/components/slidingmessageframe.lua index 3f6079f..748ec12 100644 --- a/ls_Glass/core/components/slidingmessageframe.lua +++ b/ls_Glass/core/components/slidingmessageframe.lua @@ -393,11 +393,11 @@ function object_proto:FastForward() t_wipe(self.incomingMessages) local num = m_min(self:GetNumHistoryElements(), self:GetMaxMessages(), self:GetFirstMessageIndex()) - if num == 0 then return end self:SetVerticalScroll(0) self:ScrollTo(num, true) + if num == 0 then return end if num == self:GetFirstMessageIndex() then num = num + 1 end From e6aff438854c20c939a57aaa61725c4cb7893927 Mon Sep 17 00:00:00 2001 From: Val Voronov Date: Thu, 10 Nov 2022 02:31:20 +0700 Subject: [PATCH 11/12] =?UTF-8?q?=F0=9F=93=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 9 +++++++++ ls_Glass/core/changelog.lua | 7 ++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d60c8a9..c8652dc 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # CHANGELOG +## Version 100000.02 + +- Added horizontal and vertical padding options for messages. +- Fixed an issue where messages' background gradient wouldn't resize properly. +- Fixed an issue where fast forwarding would break the message display. +- Reduced the minimal possible chat frame size to 176x64, making it smaller will break stuff. + The max is uncapped. +- Added French translation. Translated by Braincell1980@Curse. + ## Version 100000.01 - The initial release. diff --git a/ls_Glass/core/changelog.lua b/ls_Glass/core/changelog.lua index 996f071..68080b1 100644 --- a/ls_Glass/core/changelog.lua +++ b/ls_Glass/core/changelog.lua @@ -6,5 +6,10 @@ local _G = getfenv(0) -- Mine E.CHANGELOG = [[ -- The initial release. +- Added horizontal and vertical padding options for messages. +- Fixed an issue where messages' background gradient wouldn't resize properly. +- Fixed an issue where fast forwarding would break the message display. +- Reduced the minimal possible chat frame size to 176x64, making it smaller will break stuff. + The max is uncapped. +- Added French translation. Translated by Braincell1980@Curse. ]] From 82095fcd4ccca90522c745877a83f29b64371656 Mon Sep 17 00:00:00 2001 From: Val Voronov Date: Thu, 10 Nov 2022 02:31:27 +0700 Subject: [PATCH 12/12] .toc bump --- ls_Glass/ls_Glass.toc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ls_Glass/ls_Glass.toc b/ls_Glass/ls_Glass.toc index e9c4bef..94ba2c3 100644 --- a/ls_Glass/ls_Glass.toc +++ b/ls_Glass/ls_Glass.toc @@ -1,6 +1,6 @@ ## Interface: 100000 ## Author: lightspark -## Version: 100000.01 +## Version: 100000.02 ## Title: LS: |cffe0bc5bGlass|r ## Notes: Smooth as glass.