winit-sonoma-fix/src/platform_impl/web
Benjamin Saunders 4b618bd6a6 Don't discard high-precision cursor position data (#1375)
* Don't discard high-precision cursor position data

Most platforms (X11, wayland, macos, stdweb, ...) provide physical
positions in f64 units, which can contain meaningful fractional
data. For example, this can be empirically observed on modern X11
using a typical laptop touchpad. This is useful for e.g. content
creation tools, where cursor motion might map to brush strokes on a
canvas with higher-than-screen resolution, or positioning of an object
in a vector space.

* Update CHANGELOG.md

Co-Authored-By: Murarth <murarth@gmail.com>

Co-authored-by: Murarth <murarth@gmail.com>
2020-01-09 21:19:50 -07:00
..
event_loop Rename hidpi_factor to scale_factor (#1334) 2020-01-05 14:15:12 -05:00
stdweb Don't discard high-precision cursor position data (#1375) 2020-01-09 21:19:50 -07:00
web_sys Don't discard high-precision cursor position data (#1375) 2020-01-09 21:19:50 -07:00
device.rs Draft web platform structure 2019-06-25 03:15:34 +02:00
error.rs Fix web errors (#1040) 2019-07-10 18:54:54 -04:00
mod.rs Add error message when building for web without selecting a feature. (#1253) 2019-10-31 12:45:12 -04:00
monitor.rs Rename hidpi_factor to scale_factor (#1334) 2020-01-05 14:15:12 -05:00
window.rs Rename hidpi_factor to scale_factor (#1334) 2020-01-05 14:15:12 -05:00