Add folder tree
This commit is contained in:
@ -289,11 +289,11 @@ impl Handwriting {
|
||||
_ => Some(next),
|
||||
}
|
||||
})
|
||||
.cloned()
|
||||
.filter(|event| {
|
||||
// FIXME: pinenote: PointerMoved are duplicated after the MouseMoved events
|
||||
cfg!(not(feature = "pinenote")) || !matches!(event, Event::PointerMoved(..))
|
||||
})
|
||||
.cloned()
|
||||
.collect::<Vec<_>>()
|
||||
});
|
||||
|
||||
@ -459,6 +459,8 @@ impl Handwriting {
|
||||
mesh_context: MeshContext,
|
||||
ui: &mut Ui,
|
||||
) {
|
||||
// TODO: don't tesselate and rasterize on the GUI thread
|
||||
|
||||
self.last_mesh_ctx = Some(mesh_context);
|
||||
|
||||
self.refresh_texture = false;
|
||||
@ -646,6 +648,7 @@ impl FromStr for Handwriting {
|
||||
.wrap_err("Failed to decode painting data from base64")?;
|
||||
|
||||
// HACK: first iteration of disk format did not have version header
|
||||
//let mut bytes = bytes;
|
||||
//bytes.insert(0, 0);
|
||||
//bytes.insert(0, 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user