LS: Glass

LS: Glass

57.5k Downloads

Background Panel

Snichy opened this issue · 6 comments

commented

Would like the option of having a plain consistent background panel, without the gradient. Or at the very least a Gradient that fades from left to right rather than from in the middle outward.

commented

I'll think about it, no promises tho...

commented

Would also like to see this as a feature. I always wanted it in the old Glass as well. For anybody else who might stumble across this and would like a jank workaround in the (hopeful) meantime, you just have to make a quick and easy edit to one file.

  • Open the ls_Glass\core\components\messageline.lua file.
  • On line 24, change self:SetGradientBackgroundSize(E:Round(width * 0.1), E:Round(width * 0.4)) to self:SetGradientBackgroundSize(width, width)
  • On line 37, change E:CreateGradientBackground(frame, E:Round(width * 0.1), E:Round(width * 0.5), 0, 0, 0, C.db.profile.chat.alpha) to E:CreateGradientBackground(frame, width, width, 0, 0, 0, C.db.profile.chat.alpha)

image

commented

@Kebaronrin That's perfect - this might actually convince me to move away from Prat as Glass looks so much nicer with a consistent background. Sounds like there'll be a lot of updates to LSs version to squash the bugs which will probably overwrite any custom LUA changes so maybe Ill hold off for a while!

commented

Dw, now that the addon is fairly stable aside from one annoying scrolling bug, I'm taking a break. I spent last ~6 weeks prepping for the prepatch and then working Glass despite having covid that lasted for like 3 weeks. That's just too much, it's not even the 2nd phase of the prepatch and I'm practically burnt out. I need a break. In the meantime feel free to mod it.

commented

Maybe this entire project could be ported to Prat as a PR. There is a lot (a lot) of overlapping functionality and nearly everything in each open issue is already present in Prat. The one thing not in Prat is a reskinning of the default chatbox elements (tabs, scrollbar/buttons, etc.).

commented

Our projects have different goals. I have no interest in even attempting to merge it with prat.