remvoed
This commit is contained in:
parent
60199831a3
commit
3249c9d68b
@ -37,12 +37,10 @@ import UIKit
|
||||
|
||||
if self.previousIndex != NSNotFound {
|
||||
self.delegateObject?.moleculeDelegate?.removeMolecules(model.molecules[self.previousIndex], animation: .fade)
|
||||
// self.delegateObject?.moleculeDelegate?.removeMolecules(json2d[self.previousIndex], animation: .fade)
|
||||
}
|
||||
|
||||
if let indexPath = self.delegateObject?.moleculeDelegate?.getIndexPath(for: model) {
|
||||
self.delegateObject?.moleculeDelegate?.addMolecules(model.molecules[index], indexPath: indexPath, animation: .fade)
|
||||
// self.delegateObject?.moleculeDelegate?.addMolecules(json2d[index], animation: .fade)
|
||||
}
|
||||
self.previousIndex = index
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user