Merge pull request #1897 from fufesou/fix_window_minmax_on_first_toggle
flutter_desktop: fix minmax on first click
This commit is contained in:
commit
6e6a2cfbfe
@ -177,7 +177,8 @@ typedef TabBuilder = Widget Function(
|
||||
typedef LabelGetter = Rx<String> Function(String key);
|
||||
|
||||
/// [_lastClickTime], help to handle double click
|
||||
int _lastClickTime = DateTime.now().millisecondsSinceEpoch;
|
||||
int _lastClickTime =
|
||||
DateTime.now().millisecondsSinceEpoch - kDesktopDoubleClickTimeMilli - 1000;
|
||||
|
||||
class DesktopTab extends StatelessWidget {
|
||||
final bool showLogo;
|
||||
|
Loading…
x
Reference in New Issue
Block a user