mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-24 19:08:12 +08:00
Code review fixes
This commit is contained in:
@@ -546,13 +546,11 @@ impl TableRowLayout for Typography {
|
||||
"Typography"
|
||||
}
|
||||
fn identifier(&self) -> String {
|
||||
"Typography".to_string()
|
||||
}
|
||||
fn element_widget(&self, _index: usize) -> WidgetHolder {
|
||||
TextLabel::new("Not supported").widget_holder()
|
||||
format!("Typography: {self:?}")
|
||||
}
|
||||
fn element_page(&self, _data: &mut LayoutData) -> Vec<LayoutGroup> {
|
||||
vec![LayoutGroup::Row { widgets: Vec::new() }]
|
||||
let widgets = vec![TextLabel::new("TODO").widget_holder()];
|
||||
vec![LayoutGroup::Row { widgets }]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
@@ -9,7 +9,6 @@ use core::borrow::Borrow;
|
||||
use core::f64::consts::{FRAC_PI_2, PI, TAU};
|
||||
use glam::{DAffine2, DVec2};
|
||||
use graphene_std::Color;
|
||||
use graphene_std::consts::SOURCE_SANS_FONT_DATA;
|
||||
use graphene_std::math::quad::Quad;
|
||||
use graphene_std::subpath::{self, Subpath};
|
||||
use graphene_std::table::Table;
|
||||
|
||||
Reference in New Issue
Block a user