Fixed spacing issue with settings

This commit is contained in:
Jaime van Kessel 2015-04-07 12:03:23 +02:00
parent dab74e524a
commit d7ec2fadf3

View File

@ -55,10 +55,9 @@ ScrollView {
var h = 0.0;
for(var i in children) {
var item = children[i];
h += children[i].height;
h += children[i].height;
if(item.settingVisible) {
if(i - 1 > 0) {
if(i > 0) {
h += spacing;
}
}