Don't allow long-pressing on non-touchscreen devices
It isn't the right kind of interaction on a computer with a mouse or trackpad, it should be relegated to touchscreen only. This should hopefully cover everything from room list delegates to messages.
This commit is contained in:
@@ -69,6 +69,9 @@ ColumnLayout {
|
||||
});
|
||||
map.open();
|
||||
}
|
||||
}
|
||||
TapHandler {
|
||||
acceptedDevices: PointerDevice.TouchScreen
|
||||
onLongPressed: openMessageContext("")
|
||||
}
|
||||
TapHandler {
|
||||
|
||||
Reference in New Issue
Block a user