WIP
This commit is contained in:
@@ -53,6 +53,7 @@ use std::{
|
||||
pub use test_app_context::{ContextHandle, TestAppContext};
|
||||
use util::ResultExt;
|
||||
use uuid::Uuid;
|
||||
pub use window::MeasureParams;
|
||||
use window_input_handler::WindowInputHandler;
|
||||
|
||||
pub trait Entity: 'static {
|
||||
|
||||
@@ -1302,7 +1302,7 @@ impl LayoutEngine {
|
||||
}
|
||||
|
||||
pub fn computed_layout(&mut self, node: LayoutId) -> Result<EngineLayout> {
|
||||
Ok(self.0.layout(node)?.into())
|
||||
dbg!(Ok(self.0.layout(node)?.into()))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -157,7 +157,7 @@ impl<T: Clone + Default> Into<taffy::geometry::Point<T>> for Point<T> {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Refineable)]
|
||||
#[derive(Clone, Refineable, Debug)]
|
||||
pub struct Size<T: Clone + Default> {
|
||||
pub width: T,
|
||||
pub height: T,
|
||||
|
||||
@@ -7,6 +7,7 @@ pub use assets::*;
|
||||
pub mod elements;
|
||||
pub mod font_cache;
|
||||
mod image_data;
|
||||
pub use taffy;
|
||||
pub use crate::image_data::ImageData;
|
||||
pub mod views;
|
||||
pub use font_cache::FontCache;
|
||||
|
||||
Reference in New Issue
Block a user