mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-22 07:08:42 -06:00
fvck
This commit is contained in:
parent
5ce9dda77b
commit
d1e1325068
|
@ -20,7 +20,7 @@ pub struct Frame {
|
||||||
layers: Vec<FrameLayer>
|
layers: Vec<FrameLayer>
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<T: Into<RectLayer>> From<T> for Frame {
|
impl<T: Into<FrameLayer>> From<T> for Frame {
|
||||||
fn from(layer: T) -> Self {
|
fn from(layer: T) -> Self {
|
||||||
let mut frame = Self::default();
|
let mut frame = Self::default();
|
||||||
frame.add(layer.into());
|
frame.add(layer.into());
|
||||||
|
|
Loading…
Reference in a new issue