Skip to content

Commit

Permalink
codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
mi-sts committed Apr 18, 2024
1 parent f9ac120 commit e80a1bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/main/kotlin/solve/scene/model/LayerState.kt
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@ class LayerState(val name: String) {
}

private fun unhighlightLandmark(landmarkUID: Long) {
if (!landmarksHighlightingProgress.contains(landmarkUID))
if (!landmarksHighlightingProgress.contains(landmarkUID)) {
return
}

landmarksHighlightingProgress[landmarkUID]?.propertyTranslator?.translateTo(0f, HighlightDurationMillis)
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/solve/utils/PropertyTranslator.kt
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ class PropertyTranslator<T>(private val property: WritableValue<T>) {
private fun onActiveTimelineFinished() {
activeTimeline = null
}
}
}

0 comments on commit e80a1bd

Please sign in to comment.