mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Handle multi-touch events from glutin
This commit is contained in:
parent
5c11c88e92
commit
ef93650db9
7 changed files with 227 additions and 102 deletions
|
@ -272,12 +272,6 @@ impl DebugOptions {
|
|||
pub fn new(debug_string: &str) -> Result<DebugOptions, &str> {
|
||||
let mut debug_options = DebugOptions::default();
|
||||
|
||||
// FIXME: Glutin currently converts touch input to mouse events on Android.
|
||||
// Convert it back to touch events.
|
||||
if cfg!(target_os = "android") {
|
||||
debug_options.convert_mouse_to_touch = true;
|
||||
}
|
||||
|
||||
for option in debug_string.split(',') {
|
||||
match option {
|
||||
"help" => debug_options.help = true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue