mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-13 19:47:17 +00:00
fix adjust window, check visiable frame size
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -701,11 +701,11 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
|
||||
return false;
|
||||
}
|
||||
double scale = _screen!.scaleFactor;
|
||||
double selfWidth = _screen!.frame.width;
|
||||
double selfHeight = _screen!.frame.height;
|
||||
double selfWidth = _screen!.visibleFrame.width;
|
||||
double selfHeight = _screen!.visibleFrame.height;
|
||||
if (isFullscreen) {
|
||||
selfWidth = _screen!.visibleFrame.width;
|
||||
selfHeight = _screen!.visibleFrame.height;
|
||||
selfWidth = _screen!.frame.width;
|
||||
selfHeight = _screen!.frame.height;
|
||||
}
|
||||
|
||||
final canvasModel = widget.ffi.canvasModel;
|
||||
|
||||
Reference in New Issue
Block a user