egui/egui_web/CHANGELOG.md
Emil Ernerfeldt 247026149c
Multiple mouse button support (#135)
Add support for primary, secondary and middle mouse buttons. Also improve ability to click things in low FPS situations.

This introduces a lot of breaking changes:

    Backends/integrations now pass mouse events via the even stream.
    Response has an interface of mostly methods instead of public members.
    input.mouse is now input.pointer and has new interface.


* Rename 'mouse' to 'pointer' everywhere (pointer = mouse or touch)

* Make Response::clicked and Response::double_clicked into methods

* Remove Response::active and add dragged() and interact_pointer_pos()

* Support multiple mouse buttons

* Make PointerState interface all methods

* Make most members of Response private
2021-01-25 18:50:19 +01:00

1.4 KiB

Changelog for egui_web

All notable changes to the egui_web integration will be noted in this file.

The format is based on Keep a Changelog.

Unreleased

Added

  • Right-clicks will no longer open browser context menu.

Fixed

  • Fix a bug where one couldn't select items in a combo box on a touch screen.

0.8.0 - 2021-01-17

Added

  • WebGL2 is now supported, with improved texture sampler. WebGL1 will be used as a fallback.

Changed

  • Slightly improved alpha-blending (work-around for non-existing linear-space blending).

Fixed

  • Call prevent_default for arrow keys when entering text

0.7.0 - 2021-01-04

Changed

  • http and persistence are now optional (and opt-in) features.

Fixed

  • egui_web now compiled without RUSTFLAGS=--cfg=web_sys_unstable_apis, but copy/paste won't work.

0.6.0 - 2020-12-26

Added

  • Auto-save of app state to local storage

Changed

  • Set a maximum canvas size to alleviate performance issues on some machines
  • Simplify egui_web::start arguments

0.4.0 - 2020-11-28

Added

  • A simple HTTP fetch API (wraps web_sys).
  • Add ability to request a repaint
  • Copy/cut/paste suppoert

Changed

  • Automatic repaint every second

Fixed

  • Web browser zooming should now work as expected
  • A bunch of bug fixes related to keyboard events