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:
@@ -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:
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
use parking_lot::Mutex;
|
||||
use egui::mutex::Mutex;
|
||||
|
||||
/// An image to be shown in egui.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user