mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-15 04:25:43 +00:00
add desktop
This commit is contained in:
@@ -211,8 +211,8 @@ class _ConnectionPageState extends State<ConnectionPage> {
|
||||
width: width,
|
||||
child: Card(
|
||||
child: GestureDetector(
|
||||
onTap: !isDesktop ? () => connect('${p.id}') : null,
|
||||
onDoubleTap: isDesktop ? () => connect('${p.id}') : null,
|
||||
onTap: !isWebDesktop ? () => connect('${p.id}') : null,
|
||||
onDoubleTap: isWebDesktop ? () => connect('${p.id}') : null,
|
||||
onLongPressStart: (details) {
|
||||
final x = details.globalPosition.dx;
|
||||
final y = details.globalPosition.dy;
|
||||
|
||||
Reference in New Issue
Block a user