mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 04:40:03 -04:00
impl Clone for Fonts (#3737)
Closes https://github.com/emilk/egui/issues/3731
This commit is contained in:
@@ -348,6 +348,7 @@ impl FontDefinitions {
|
||||
/// If you are using `egui`, use `egui::Context::set_fonts` and `egui::Context::fonts`.
|
||||
///
|
||||
/// You need to call [`Self::begin_frame`] and [`Self::font_image_delta`] once every frame.
|
||||
#[derive(Clone)]
|
||||
pub struct Fonts(Arc<Mutex<FontsAndCache>>);
|
||||
|
||||
impl Fonts {
|
||||
|
||||
Reference in New Issue
Block a user