remove unused enum

This commit is contained in:
griffi-gh 2024-02-21 11:03:36 +01:00
parent 9a9bb72f8d
commit a8b065c839

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>,