mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
fix: window backgroud color (#8155)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
@@ -279,7 +279,7 @@ class _RemotePageState extends State<RemotePage>
|
||||
return Stack(
|
||||
children: [
|
||||
Container(
|
||||
color: Colors.black,
|
||||
color: kColorCanvas,
|
||||
child: RawKeyFocusScope(
|
||||
focusNode: _rawKeyFocusNode,
|
||||
onFocusChange: (bool imageFocused) {
|
||||
|
||||
@@ -334,7 +334,7 @@ class DesktopTab extends StatelessWidget {
|
||||
|
||||
List<Widget> _tabWidgets = [];
|
||||
Widget _buildPageView() {
|
||||
return _buildBlock(
|
||||
final child = _buildBlock(
|
||||
child: Obx(() => PageView(
|
||||
controller: state.value.pageController,
|
||||
physics: NeverScrollableScrollPhysics(),
|
||||
@@ -358,6 +358,11 @@ class DesktopTab extends StatelessWidget {
|
||||
return newList;
|
||||
}
|
||||
}())));
|
||||
if (tabType == DesktopTabType.remoteScreen) {
|
||||
return Container(color: kColorCanvas, child: child);
|
||||
} else {
|
||||
return child;
|
||||
}
|
||||
}
|
||||
|
||||
/// Check whether to show ListView
|
||||
|
||||
Reference in New Issue
Block a user