mirror of
https://github.com/emilk/egui.git
synced 2026-09-03 15:20:05 -04:00
Put all egui_demo_lib tests into their own files in their own folder (#4691)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#[derive(Default)]
|
||||
pub struct ExtraViewport {}
|
||||
|
||||
impl super::Demo for ExtraViewport {
|
||||
impl crate::Demo for ExtraViewport {
|
||||
fn is_enabled(&self, ctx: &egui::Context) -> bool {
|
||||
!ctx.embed_viewports()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user