fix: deactive widget ancester (#8187)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
parent
1bfafaf07c
commit
89d855d085
1 changed files with 2 additions and 3 deletions
|
|
@ -455,9 +455,8 @@ class _RemotePageState extends State<RemotePage>
|
|||
}, onExit: (evt) {
|
||||
if (!isWeb) bind.hostStopSystemKeyPropagate(stopped: true);
|
||||
}, child: LayoutBuilder(builder: (context, constraints) {
|
||||
Future.delayed(Duration.zero, () {
|
||||
Provider.of<CanvasModel>(context, listen: false).updateViewStyle();
|
||||
});
|
||||
final c = Provider.of<CanvasModel>(context, listen: false);
|
||||
Future.delayed(Duration.zero, () => c.updateViewStyle());
|
||||
final peerDisplay = CurrentDisplayState.find(widget.id);
|
||||
return Obx(
|
||||
() => _ffi.ffiModel.pi.isSet.isFalse
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue