fix(ui): fix cursor position for assist
This commit is contained in:
parent
d06192907c
commit
1a0a966bb4
2 changed files with 6 additions and 3 deletions
|
|
@ -86,9 +86,9 @@ export default class AssistManager {
|
|||
const isRecordingActive = recordingState === SessionRecordingStatus.Recording
|
||||
const isControlActive = remoteControl === RemoteControlStatus.Enabled
|
||||
// recording gets priority here
|
||||
if (isRecordingActive) return { border: '2px dashed red' }
|
||||
if (isControlActive) return { border: '2px dashed blue' }
|
||||
return { border: 'unset'}
|
||||
if (isRecordingActive) return { outline: '2px dashed red' }
|
||||
if (isControlActive) return { outline: '2px dashed blue' }
|
||||
return { outline: 'unset' }
|
||||
}
|
||||
|
||||
private setStatus(status: ConnectionStatus) {
|
||||
|
|
|
|||
|
|
@ -32,6 +32,9 @@ export default class Mouse {
|
|||
position: 'absolute',
|
||||
zIndex: '999998',
|
||||
pointerEvents: 'none',
|
||||
// adjusting the svg empty space
|
||||
marginTop: '-1px',
|
||||
marginLeft: '-2px',
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue