mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-11-20 09:01:20 -08:00
Checklist -> tracker error. only when invalid
This commit is contained in:
1 parent
910fe5cf71
commit
24ce1ae284
1 file changed
+1
@@ -163,6 +163,7 @@ class TrackerErrorCheckBehaviour(private val trackerStates: StateFlow<List<Check
|
||||
return TrackingChecklistStep(
|
||||
valid = errorTrackers.isEmpty(),
|
||||
enabled = trackers.isNotEmpty(),
|
||||
visibility = TrackingChecklistStepVisibility.WHEN_INVALID,
|
||||
extraData = if (errorTrackers.isNotEmpty()) {
|
||||
TrackingChecklistTrackerError(
|
||||
trackersId = errorTrackers.map { tracker -> tracker.id.toUShort() },
|
||||
|
||||
Reference in new issue
Block a user