comments
This commit is contained in:
2
TODO
2
TODO
@@ -1,6 +1,6 @@
|
|||||||
images
|
images
|
||||||
settings (sampler)
|
settings (sampler)
|
||||||
track handles and free unused
|
|
||||||
text
|
text
|
||||||
|
on update for text widget (then don't need to store textures in active data)
|
||||||
abstract sensors to work with any event, maybe associate data as well?
|
abstract sensors to work with any event, maybe associate data as well?
|
||||||
make current senses orable so you can select multiple
|
make current senses orable so you can select multiple
|
||||||
|
|||||||
@@ -183,6 +183,9 @@ impl<'a, Ctx> Painter<'a, Ctx> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// shifts the primitive spans for all widgets above this one in the tree
|
||||||
|
/// also goes into children of them and modifies those that come after this one
|
||||||
|
/// should be done after applying primitives to ensure active spans are correct
|
||||||
fn shift_parent(&mut self, parent: Id, start: usize, delta: isize) {
|
fn shift_parent(&mut self, parent: Id, start: usize, delta: isize) {
|
||||||
let instance = self.active.widgets.get_mut(&parent).unwrap();
|
let instance = self.active.widgets.get_mut(&parent).unwrap();
|
||||||
let end = &mut instance.span.end;
|
let end = &mut instance.span.end;
|
||||||
|
|||||||
Reference in New Issue
Block a user