mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 23:00:04 -04:00
egui_web: default to light mode unless prefers-color-scheme: dark
This commit is contained in:
@@ -5,14 +5,17 @@ All notable changes to the `egui_web` integration will be noted in this file.
|
||||
|
||||
## Unreleased
|
||||
|
||||
### Fixed ⭐
|
||||
### Changed 🔧
|
||||
* Default to light visuals unless the system reports a preference for dark mode.
|
||||
|
||||
### Fixed 🐛
|
||||
* Improve alpha blending, making fonts look much better (especially in light mode)
|
||||
* Fix double-paste bug
|
||||
|
||||
|
||||
## 0.12.0 - 2021-05-10
|
||||
|
||||
### Fixed ⭐
|
||||
### Fixed 🐛
|
||||
* Scroll faster when scrolling with mouse wheel.
|
||||
|
||||
|
||||
@@ -33,7 +36,7 @@ Contributors: [n2](https://github.com/n2)
|
||||
### Added ⭐
|
||||
* Right-clicks will no longer open browser context menu.
|
||||
|
||||
### Fixed ⭐
|
||||
### Fixed 🐛
|
||||
* Fix a bug where one couldn't select items in a combo box on a touch screen.
|
||||
|
||||
|
||||
@@ -41,18 +44,18 @@ Contributors: [n2](https://github.com/n2)
|
||||
### Added ⭐
|
||||
* WebGL2 is now supported, with improved texture sampler. WebGL1 will be used as a fallback.
|
||||
|
||||
### Changed
|
||||
### Changed 🔧
|
||||
* Slightly improved alpha-blending (work-around for non-existing linear-space blending).
|
||||
|
||||
### Fixed ⭐
|
||||
### Fixed 🐛
|
||||
* Call prevent_default for arrow keys when entering text
|
||||
|
||||
|
||||
## 0.7.0 - 2021-01-04
|
||||
### Changed
|
||||
### Changed 🔧
|
||||
* `http` and `persistence` are now optional (and opt-in) features.
|
||||
|
||||
### Fixed ⭐
|
||||
### Fixed 🐛
|
||||
* egui_web now compiled without `RUSTFLAGS=--cfg=web_sys_unstable_apis`, but copy/paste won't work.
|
||||
|
||||
|
||||
@@ -60,7 +63,7 @@ Contributors: [n2](https://github.com/n2)
|
||||
### Added ⭐
|
||||
* Auto-save of app state to local storage
|
||||
|
||||
### Changed ⭐
|
||||
### Changed 🔧
|
||||
* Set a maximum canvas size to alleviate performance issues on some machines
|
||||
* Simplify `egui_web::start` arguments
|
||||
|
||||
@@ -70,9 +73,9 @@ Contributors: [n2](https://github.com/n2)
|
||||
* Add ability to request a repaint
|
||||
* Copy/cut/paste suppoert
|
||||
|
||||
### Changed ⭐
|
||||
### Changed 🔧
|
||||
* Automatic repaint every second
|
||||
|
||||
### Fixed ⭐
|
||||
### Fixed 🐛
|
||||
* Web browser zooming should now work as expected
|
||||
* A bunch of bug fixes related to keyboard events
|
||||
|
||||
Reference in New Issue
Block a user