1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 13:50:04 -04:00

Use atomic_refcell instead of parking_lot for wasm32 targets (#1404)

Closes https://github.com/emilk/egui/issues/1401
This commit is contained in:
Emil Ernerfeldt
2022-03-22 15:34:21 +01:00
committed by GitHub
parent e5aeb1618f
commit 41b178b6ec
9 changed files with 99 additions and 10 deletions

View File

@@ -28,7 +28,6 @@ svg = ["resvg", "tiny-skia", "usvg"]
[dependencies]
egui = { version = "0.17.0", path = "../egui", default-features = false }
parking_lot = "0.12"
# Optional dependencies:

View File

@@ -1,4 +1,4 @@
use parking_lot::Mutex;
use egui::mutex::Mutex;
/// An image to be shown in egui.
///