Make the info final variable a jvm field in ButtonImpl.kt
This commit is contained in:
		
							parent
							
								
									56255825e2
								
							
						
					
					
						commit
						4c2487b839
					
				| @ -53,6 +53,7 @@ sealed class ButtonImpl: ColoredElement(0.0, 0.0, 73, 8, opacity = 0.60F) { | ||||
|         field = value | ||||
|         hidden = value | ||||
|     } | ||||
|     @JvmField | ||||
|     val info = this::class.findAnnotation<ButtonInfo>() ?: throw Exception("Missing @ButtonInfo annotaton") | ||||
|     override var color = info.parent.categoryColor; get() { | ||||
|         return info.parent.box.color.let { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user