mirror of
https://github.com/emilk/egui.git
synced 2026-09-03 23:30:04 -04:00
Put all egui_demo_lib tests into their own files in their own folder (#4691)
This commit is contained in:
@@ -39,7 +39,7 @@ impl Default for Sliders {
|
||||
}
|
||||
}
|
||||
|
||||
impl super::Demo for Sliders {
|
||||
impl crate::Demo for Sliders {
|
||||
fn name(&self) -> &'static str {
|
||||
"⬌ Sliders"
|
||||
}
|
||||
@@ -49,13 +49,13 @@ impl super::Demo for Sliders {
|
||||
.open(open)
|
||||
.resizable(false)
|
||||
.show(ctx, |ui| {
|
||||
use super::View as _;
|
||||
use crate::View as _;
|
||||
self.ui(ui);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
impl super::View for Sliders {
|
||||
impl crate::View for Sliders {
|
||||
fn ui(&mut self, ui: &mut Ui) {
|
||||
let Self {
|
||||
min,
|
||||
|
||||
Reference in New Issue
Block a user