Skip to content

Commit

Permalink
Make all new nodes inherit alpha (#23)
Browse files Browse the repository at this point in the history
Thanks!
  • Loading branch information
dapetcu21 authored and britzl committed Mar 27, 2018
1 parent 819f011 commit 622691a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion richtext/richtext.lua
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ local function create_node(word, parent, font)
end
gui.set_pivot(node, gui.PIVOT_NW)
gui.set_parent(node, parent)
gui.set_inherit_alpha(node, true)
return node, metrics
end

Expand Down Expand Up @@ -395,4 +396,4 @@ function M.characters(word)
end


return M
return M

0 comments on commit 622691a

Please sign in to comment.