Высота — только для видео: ассистент/коннект-экран следуют масштабу, но всегда у верха
This commit is contained in:
@@ -91,7 +91,6 @@ private fun overlayBox(
|
||||
) {
|
||||
Binocular(scale = false) {
|
||||
val scale by app.scale.collectAsState()
|
||||
val vertical by app.vertical.collectAsState()
|
||||
val screenWidthPx = BinocularScreenSize.current.width
|
||||
val screenHeightPx = BinocularScreenSize.current.height
|
||||
val side = BinocularScreenSide.current
|
||||
@@ -103,7 +102,7 @@ private fun overlayBox(
|
||||
.height(containerH.px)
|
||||
.offset(
|
||||
x = scaleOffsetX(side, screenWidthPx, scale).px,
|
||||
y = verticalOffsetY(screenHeightPx, scale, vertical).px,
|
||||
// вертикаль (vertical) — только для видео; оверлей всегда у верха
|
||||
)
|
||||
.background(Color.Black.copy(alpha = 0.72f)),
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user