Protect the setter of Element.hidden
This commit is contained in:
parent
7cc0f17fc4
commit
aa4d7e3743
|
@ -28,7 +28,7 @@ abstract class Element(
|
|||
}
|
||||
}
|
||||
}
|
||||
var hidden: Boolean = false
|
||||
var hidden: Boolean = false; protected set
|
||||
}
|
||||
|
||||
abstract class ColoredElement(x: Double, y: Double, width: Int, height: Int, val color: Int, val opacity: Float) : Element(x, y, width, height) {
|
||||
|
|
Loading…
Reference in New Issue