remove unused enum

This commit is contained in:
griffi-gh 2024-02-21 11:03:36 +01:00
parent a6b2244461
commit f8d67da0c9

View file

@ -8,11 +8,12 @@ use crate::{
layout::UiSize layout::UiSize
}; };
pub enum TextSize { //TODO: text fit
FitToWidthRatio(f32), // pub enum TextSize {
FitToHeightRatio(f32), // FitToWidthRatio(f32),
Constant(u8), // FitToHeightRatio(f32),
} // Constant(u8),
// }
pub struct Text { pub struct Text {
pub text: Cow<'static, str>, pub text: Cow<'static, str>,