wrong key fix

This commit is contained in:
Pfeil, Scott Robert 2020-06-10 09:01:33 -04:00
parent a5d59db903
commit c1dcec452d

View File

@ -57,7 +57,7 @@ open class MoleculeStackTemplate: ThreeLayerViewController, TemplateProtocol {
moleculeStackModel.useStackSpacingBeforeFirstItem = true
for stackItem in moleculeStackModel.molecules {
guard let stackItem = stackItem as? MoleculeStackItemModel,
stackItem.horizontalAlignment == nil else { continue }
stackItem.useHorizontalMargins == nil else { continue }
stackItem.useHorizontalMargins = true
}
stack.set(with: moleculeStackModel, delegateObject() as? MVMCoreUIDelegateObject, nil)