mirror of https://github.com/jetkvm/kvm.git
Compare commits
5 Commits
9d2d2159f7
...
838ff5a34f
| Author | SHA1 | Date |
|---|---|---|
|
|
838ff5a34f | |
|
|
bdd6f4247b | |
|
|
1f7083a023 | |
|
|
dc7791c245 | |
|
|
9affd248f3 |
|
|
@ -118,7 +118,6 @@ func uiInit(rotation uint16) {
|
|||
defer cgoLock.Unlock()
|
||||
|
||||
cRotation := C.u_int16_t(rotation)
|
||||
defer C.free(unsafe.Pointer(&cRotation))
|
||||
|
||||
C.jetkvm_ui_init(cRotation)
|
||||
}
|
||||
|
|
@ -350,7 +349,6 @@ func uiDispSetRotation(rotation uint16) (bool, error) {
|
|||
nativeLogger.Info().Uint16("rotation", rotation).Msg("setting rotation")
|
||||
|
||||
cRotation := C.u_int16_t(rotation)
|
||||
defer C.free(unsafe.Pointer(&cRotation))
|
||||
|
||||
C.jetkvm_ui_set_rotation(cRotation)
|
||||
return true, nil
|
||||
|
|
|
|||
|
|
@ -542,7 +542,7 @@ export default function WebRTCVideo() {
|
|||
style={{ animationDuration: "500ms" }}
|
||||
className="animate-slideUpFade pointer-events-none absolute inset-0 flex items-center justify-center"
|
||||
>
|
||||
<div className="relative h-full w-full rounded-md">
|
||||
<div className="relative h-full w-full rounded-md" onClick={requestPointerLock}>
|
||||
<LoadingVideoOverlay show={isVideoLoading} />
|
||||
<HDMIErrorOverlay show={hdmiError} hdmiState={hdmiState} />
|
||||
<NoAutoplayPermissionsOverlay
|
||||
|
|
|
|||
Loading…
Reference in New Issue