Commit faa50843 authored by stratact's avatar stratact

Remove Async window flag

parent ccc696bc
...@@ -22,7 +22,7 @@ pub fn target_backend( ...@@ -22,7 +22,7 @@ pub fn target_backend(
resizable: bool, resizable: bool,
theme: Theme, theme: Theme,
) -> (Box<OrbitalBackendRunner>, Rc<RefCell<dyn Backend>>) { ) -> (Box<OrbitalBackendRunner>, Rc<RefCell<dyn Backend>>) {
let mut flags = vec![WindowFlag::Async]; let mut flags = vec![];
if resizable { if resizable {
flags.push(WindowFlag::Resizable); flags.push(WindowFlag::Resizable);
} }
......
...@@ -89,7 +89,7 @@ macro_rules! widget { ...@@ -89,7 +89,7 @@ macro_rules! widget {
} }
/// Sets or shares the constraint property. /// Sets or shares the constraint property.
pub fn constraint<P: Into<PropertySource<Constraint>>>(mut self, constraint: P) -> Self { pub fn constraint<P: Into<PropertySource<Constraint>>>(self, constraint: P) -> Self {
self.attach(constraint) self.attach(constraint)
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment