Merge branch 'feature/bgimg_overlay' into 'develop'
Modification to add overlay to image See merge request BPHV_MIPS/mvm_core_ui!581
This commit is contained in:
commit
09125aec33
@ -10,7 +10,7 @@ import Foundation
|
||||
|
||||
open class BGImageMolecule: MoleculeContainer {
|
||||
|
||||
let image = LoadImageView(pinnedEdges: .all)
|
||||
public let image = LoadImageView(pinnedEdges: .all)
|
||||
|
||||
open override func setupView() {
|
||||
super.setupView()
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
import Foundation
|
||||
|
||||
open class BGImageMoleculeModel: MoleculeContainerModel {
|
||||
public override class var identifier: String {
|
||||
open override class var identifier: String {
|
||||
return "bgImageContainer"
|
||||
}
|
||||
public var image: ImageViewModel
|
||||
@ -44,7 +44,7 @@ open class BGImageMoleculeModel: MoleculeContainerModel {
|
||||
try super.init(from: decoder)
|
||||
}
|
||||
|
||||
public override func encode(to encoder: Encoder) throws {
|
||||
open override func encode(to encoder: Encoder) throws {
|
||||
try super.encode(to: encoder)
|
||||
var container = encoder.container(keyedBy: CodingKeys.self)
|
||||
try container.encode(image, forKey: .image)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user