mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-03 15:20:06 -04:00
web: add with_prevent_default, with_focusable (#2365)
* web: add `with_prevent_default`, `with_focusable` `with_prevent_default` controls whether `event.preventDefault` is called `with_focusable` controls whether `tabindex` is added Fixes #1768 * Remove extra space from CHANGELOG
This commit is contained in:
@@ -70,6 +70,7 @@ And please only add new entries to the top of this list, right below the `# Unre
|
||||
- Added `From<u64>` for `WindowId` and `From<WindowId>` for `u64`.
|
||||
- Added `MonitorHandle::refresh_rate_millihertz` to get monitor's refresh rate.
|
||||
- **Breaking**, Replaced `VideoMode::refresh_rate` with `VideoMode::refresh_rate_millihertz` providing better precision.
|
||||
- On Web, add `with_prevent_default` and `with_focusable` to `WindowBuilderExtWebSys` to control whether events should be propagated.
|
||||
|
||||
# 0.26.1 (2022-01-05)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user