Make categories not geometry-specific

This commit is contained in:
Quincy Morgan
2019-03-04 13:39:30 -05:00
parent 0aa95bf8b0
commit 734731bfda
23 changed files with 63 additions and 139 deletions
+3 -2
View File
@@ -339,11 +339,12 @@ export function uiPresetList(context) {
.style('padding-bottom', '0px');
} else {
shown = true;
sublist.call(drawList, preset.members);
var members = preset.members.matchGeometry(context.geometry(_entityID));
sublist.call(drawList, members);
box.transition()
.duration(200)
.style('opacity', '1')
.style('max-height', 200 + preset.members.collection.length * 190 + 'px')
.style('max-height', 200 + members.collection.length * 190 + 'px')
.style('padding-bottom', '10px');
}
};