New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transparent player frame colours #116

Dogs1005 opened this Issue Sep 23, 2018 · 0 comments


None yet
1 participant

Dogs1005 commented Sep 23, 2018

Hi there,
What's happened to the player frame colour in transparent mode. there were plans to implement this but it doesn't seem to have materialized.
Someone on here has suggested the code that needs to be made to the style.lua code and before the update today, it worked a treat. But with the update it removed my modifications and now the suggested code doesn't work anymore.
Is there any chance to add this in future spartui updates as the default blue doesn't match my colour scheme.
The code in question is in the \World of Warcraft\Interface\AddOns\SpartanUI_Style_Transparent\style.lua

		PlayerColor = {
			name = L['PlayerFramesColor'],
			type = 'color',
			hasAlpha = true,
			order = 1,
			width = 'full',
			get = function(info)
				return unpack(SUI.DB.Styles.Transparent.Color.PlayerFrames)
			set = function(info, r, b, g, a)
				SUI.DB.Styles.Transparent.Color.PlayerFrames = {r, b, g, a}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment