summaryrefslogtreecommitdiffstats
path: root/winit/src/application.rs
diff options
context:
space:
mode:
Diffstat (limited to 'winit/src/application.rs')
-rw-r--r--winit/src/application.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/winit/src/application.rs b/winit/src/application.rs
index 4deffecc..fdd659d9 100644
--- a/winit/src/application.rs
+++ b/winit/src/application.rs
@@ -1,12 +1,13 @@
use crate::{
- column, conversion,
+ conversion,
input::{keyboard, mouse},
renderer::{Target, Windowed},
- Cache, Column, Debug, Element, Event, Length, MouseCursor, UserInterface,
+ Cache, Container, Debug, Element, Event, Length, MouseCursor,
+ UserInterface,
};
pub trait Application {
- type Renderer: Windowed + column::Renderer;
+ type Renderer: Windowed;
type Message: std::fmt::Debug;
@@ -282,9 +283,8 @@ where
let view = application.view();
debug.view_finished();
- Column::new()
+ Container::new(view)
.width(Length::Units(size.width.round() as u16))
.height(Length::Units(size.height.round() as u16))
- .push(view)
.into()
}