mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Theme Editor: Made blank lines render newlines in the output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27206 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8cd51a70c5
commit
c215d97b4d
3 changed files with 5 additions and 4 deletions
|
@ -518,7 +518,7 @@ void ParseTreeNode::render(const RBRenderInfo &info, RBViewport* viewport,
|
|||
for(int i = 0; i < children.count(); i++)
|
||||
children[i]->render(info, viewport);
|
||||
if(!noBreak)
|
||||
viewport->newLine();
|
||||
viewport->newLine(children.count() > 0 ? false : true);
|
||||
}
|
||||
else if(element->type == TEXT)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue