This commit is contained in:
Nathan Sobo 2023-07-26 22:37:59 -06:00
parent c602d98680
commit ab8906551d
3 changed files with 419 additions and 185 deletions

View file

@ -3339,7 +3339,7 @@ impl<'a, 'b, V: View> ViewContext<'a, 'b, V> {
self.element_state::<Tag, T>(element_id, T::default())
}
pub fn pixels_per_rem(&self) -> f32 {
pub fn rem_pixels(&self) -> f32 {
16.
}
}