Revert change of scrollspeed in egui_web
https://github.com/emilk/egui/pull/702
This commit is contained in:
parent
acb5501fe4
commit
6331bfed90
3 changed files with 2 additions and 5 deletions
|
@ -4,7 +4,7 @@ All notable changes to the `eframe` crate.
|
|||
|
||||
## Unreleased
|
||||
* Remove "http" feature (use https://github.com/emilk/ehttp instead!).
|
||||
* Increase scroll speed.
|
||||
* Increase native scroll speed.
|
||||
|
||||
|
||||
## 0.14.0 - 2021-08-24
|
||||
|
|
|
@ -9,9 +9,6 @@ All notable changes to the `egui_web` integration will be noted in this file.
|
|||
* `epi::NativeTexture` trait for webgl1 webgl2 painter
|
||||
* Deprecate `Painter::register_webgl_texture`
|
||||
|
||||
### Changed 🔧
|
||||
* Increase scroll speed.
|
||||
|
||||
|
||||
## 0.14.1 - 2021-08-28
|
||||
### Fixed 🐛
|
||||
|
|
|
@ -1049,7 +1049,7 @@ fn install_canvas_events(runner_ref: &AppRunnerRef) -> Result<(), JsValue> {
|
|||
}
|
||||
web_sys::WheelEvent::DOM_DELTA_LINE => {
|
||||
#[allow(clippy::let_and_return)]
|
||||
let points_per_scroll_line = 50.0; // Scroll speed decided by consensus: https://github.com/emilk/egui/issues/461
|
||||
let points_per_scroll_line = 8.0; // Note that this is intentionally different from what we use in egui_glium / winit.
|
||||
points_per_scroll_line
|
||||
}
|
||||
_ => 1.0,
|
||||
|
|
Loading…
Reference in a new issue