Compare commits
2 Commits
0043cf8a95
...
f649cf72eb
Author | SHA1 | Date |
---|---|---|
|
f649cf72eb | |
|
427c5ec4a9 |
File diff suppressed because it is too large
Load Diff
|
@ -30,7 +30,7 @@ num-derive = "0.4"
|
||||||
num-traits = "0.2"
|
num-traits = "0.2"
|
||||||
oneshot = "0.1"
|
oneshot = "0.1"
|
||||||
pollster = "0.4"
|
pollster = "0.4"
|
||||||
rfd = { version = "0.15", default-features = false, features = ["xdg-portal", "tokio"]}
|
rfd = { version = "0.15", default-features = false, features = ["xdg-portal", "async-std"]}
|
||||||
rtrb = "0.3"
|
rtrb = "0.3"
|
||||||
rubato = "0.16"
|
rubato = "0.16"
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
|
|
|
@ -4,6 +4,7 @@ use egui::{
|
||||||
Context, FontData, FontDefinitions, FontFamily, IconData, TextWrapMode, ViewportBuilder,
|
Context, FontData, FontDefinitions, FontFamily, IconData, TextWrapMode, ViewportBuilder,
|
||||||
ViewportCommand, ViewportId, ViewportInfo,
|
ViewportCommand, ViewportId, ViewportInfo,
|
||||||
ahash::{HashMap, HashMapExt},
|
ahash::{HashMap, HashMapExt},
|
||||||
|
style::ScrollStyle,
|
||||||
};
|
};
|
||||||
use gilrs::{EventType, Gilrs};
|
use gilrs::{EventType, Gilrs};
|
||||||
use tracing::{error, warn};
|
use tracing::{error, warn};
|
||||||
|
@ -377,6 +378,7 @@ impl Viewport {
|
||||||
ctx.style_mut(|s| {
|
ctx.style_mut(|s| {
|
||||||
s.wrap_mode = Some(TextWrapMode::Extend);
|
s.wrap_mode = Some(TextWrapMode::Extend);
|
||||||
s.visuals.menu_rounding = Default::default();
|
s.visuals.menu_rounding = Default::default();
|
||||||
|
s.spacing.scroll = ScrollStyle::thin();
|
||||||
});
|
});
|
||||||
egui_extras::install_image_loaders(&ctx);
|
egui_extras::install_image_loaders(&ctx);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue