Skip to content
Snippets Groups Projects
Commit b36b7375 authored by DarkGod's avatar DarkGod
Browse files

Dialog titles can use the outline shader now with setTitleShadowShader method

parent 54026347
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,7 @@ function _M:init(title, a)
local c_desc = Textzone.new{width=500, auto_height=true, text=color..a.name.."#LAST#\n"..a.desc, font={"/data/font/DroidSans-Bold.ttf", 26}}
c_desc:setTextShadow(1)
c_desc:setShadowShader(Shader.default.textoutline and Shader.default.textoutline.shad, 1.2)
self:setTitleShadowShader(Shader.default.textoutline and Shader.default.textoutline.shad, 1.5)
self.ui = "achievement"
Dialog.init(self, title, 10, 10)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment