mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
Move all crates into a crates directory (#1940)
This commit is contained in:
@@ -9,4 +9,4 @@ publish = false
|
||||
|
||||
|
||||
[dependencies]
|
||||
eframe = { path = "../../eframe" }
|
||||
eframe = { path = "../../crates/eframe" }
|
||||
|
||||
@@ -19,7 +19,9 @@ fn setup_custom_fonts(ctx: &egui::Context) {
|
||||
// .ttf and .otf files supported.
|
||||
fonts.font_data.insert(
|
||||
"my_font".to_owned(),
|
||||
egui::FontData::from_static(include_bytes!("../../../epaint/fonts/Hack-Regular.ttf")),
|
||||
egui::FontData::from_static(include_bytes!(
|
||||
"../../../crates/epaint/fonts/Hack-Regular.ttf"
|
||||
)),
|
||||
);
|
||||
|
||||
// Put my font first (highest priority) for proportional text:
|
||||
|
||||
Reference in New Issue
Block a user