use short timeout on front-end for resizing on Windows
This commit is contained in:
@@ -168,7 +168,7 @@ class _SizedFilamentWidgetState extends State<_SizedFilamentWidget> {
|
||||
_resizeTimer?.cancel();
|
||||
|
||||
_resizeTimer =
|
||||
Timer(const Duration(milliseconds: kReleaseMode ? 20 : 100), () async {
|
||||
Timer(Duration(milliseconds: (kReleaseMode || Platform.isWindows) ? 10 : 100), () async {
|
||||
if (!mounted) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user