Change default XYParameter precision to 2, add unit test for XYParameter

This commit is contained in:
Edwin Jakobs
2020-03-20 09:07:36 +01:00
parent 9fac66fff0
commit 210d75a7b1
2 changed files with 9 additions and 5 deletions

View File

@@ -85,14 +85,12 @@ annotation class XYParameter(
val maxX: Double = 1.0,
val minY: Double = -1.0,
val maxY: Double = 1.0,
val precision: Int = 1,
val precision: Int = 2,
val showVector: Boolean = false,
val invertY: Boolean = true,
val order: Int = Integer.MAX_VALUE
)
/**
* ActionParameter annotation for functions without arguments
* @property label a short description of the parameter