Rename function to use standard abbreviation (#2965)

This commit is contained in:
Jonathan Tran
2024-07-11 07:52:26 -04:00
committed by GitHub
parent 5fa1497b75
commit 2198bd7580
2 changed files with 24 additions and 24 deletions

View File

@ -6,7 +6,7 @@ import { useModelingContext } from 'hooks/useModelingContext'
import { useNetworkContext } from 'hooks/useNetworkContext'
import { NetworkHealthState } from 'hooks/useNetworkStatus'
import { ClientSideScene } from 'clientSideScene/ClientSideSceneComp'
import { butName } from 'lib/cameraControls'
import { btnName } from 'lib/cameraControls'
import { sendSelectEventToEngine } from 'lib/selections'
import { kclManager, engineCommandManager, sceneInfra } from 'lib/singletons'
@ -172,7 +172,7 @@ export const Stream = () => {
if (state.matches('Sketch')) return
if (state.matches('Sketch no face')) return
if (!context.store?.didDragInStream && butName(e).left) {
if (!context.store?.didDragInStream && btnName(e).left) {
sendSelectEventToEngine(
e,
videoRef.current,