File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
tiamat/src/commonMain/kotlin/com/composegears/tiamat Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,9 +22,9 @@ public class TransitionController(
2222 internal val updates: StateFlow <Event > = _updates .asStateFlow()
2323
2424 init {
25- require(start > = end) { " `start`($start ) value should be smaller then `end`($end )" }
26- require(start ! in 0f .. 1f ) { " `start`($start ) value should be in range 0..1" }
27- require(end ! in 0f .. 1f ) { " `end`($end ) value should be in range 0..1" }
25+ require(start < = end) { " `start`($start ) value should be less than or equal to `end`($end )" }
26+ require(start in 0f .. 1f ) { " `start`($start ) value should be in range 0..1" }
27+ require(end in 0f .. 1f ) { " `end`($end ) value should be in range 0..1" }
2828 }
2929
3030 private fun ensureActive () {
You can’t perform that action at this time.
0 commit comments