Skip to content

Commit

Permalink
chore: fix log message for directives
Browse files Browse the repository at this point in the history
  • Loading branch information
JaimeTorrealba committed Oct 6, 2023
1 parent 16ebffb commit 75426e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/directives/vAlwaysLookAt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const vAlwaysLookAt = {
updated: (el: Object3D, binding: any) => {
const observer = extractBindingPosition(binding)
if (!observer) {
logWarning(`${binding} is not a Object3D`)
logWarning(`v-always-look-at: problem with binding value: ${binding.value}`)
return
}
const { onLoop } = useRenderLoop()
Expand Down
2 changes: 1 addition & 1 deletion src/core/directives/vDistanceTo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const vDistanceTo = {
updated: (el: any, binding: any) => {
const observer = extractBindingPosition(binding)
if (!observer) {
logWarning(`${binding} is not a "Object3D"`)
logWarning(`v-distance-to: problem with binding value: ${binding.value}`)
return
}
if (arrowHelper) {
Expand Down

0 comments on commit 75426e9

Please sign in to comment.