mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-14 01:40:34 +00:00
flutter_desktop: fix minmax on first click
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
1 parent
5df850e7de
commit
b63f1b33a8
1 file changed
+2
-1
@@ -176,7 +176,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 showTabBar;
|
||||
|
||||
Reference in new issue
Block a user