mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-11-04 04:52:39 +08:00
[fix] correct mobile viewport safe areas and zoom reset
This commit is contained in:
@@ -140,8 +140,11 @@ struct RemoteSessionView: View {
|
||||
|
||||
}
|
||||
.frame(width: proxy.size.width, height: proxy.size.height)
|
||||
.clipped()
|
||||
}
|
||||
.ignoresSafeArea()
|
||||
// Fit video and input to the same unobscured area. Only the black
|
||||
// background extends beneath the home indicator and display cutout.
|
||||
.ignoresSafeArea(.keyboard)
|
||||
.transaction { transaction in
|
||||
transaction.animation = nil
|
||||
transaction.disablesAnimations = true
|
||||
|
||||
Reference in New Issue
Block a user