remove context generic
This commit is contained in:
1 parent
d4b1a56467
commit
e8b255c8f9
17 files changed
+167
-217
No files matched your search
+2
-2
@@ -5,8 +5,8 @@ pub struct Span {
|
||||
pub dir: Dir,
|
||||
}
|
||||
|
||||
impl<Ctx: 'static> Widget<Ctx> for Span {
|
||||
fn draw(&self, painter: &mut Painter<Ctx>) {
|
||||
impl Widget for Span {
|
||||
fn draw(&self, painter: &mut Painter) {
|
||||
let total = self.sums();
|
||||
let mut start = UIScalar::min();
|
||||
for (child, length) in &self.children {
|
||||
|
||||
Reference in new issue
Block a user