Associate collaborator avatars with "ribbons" corresponding to their cursor color

This commit is contained in:
Nathan Sobo 2021-11-28 13:25:05 -07:00
parent a5039cad65
commit fbc307cd5e
6 changed files with 70 additions and 24 deletions

View file

@ -25,6 +25,11 @@ impl Align {
self
}
pub fn bottom(mut self) -> Self {
self.alignment.set_y(1.0);
self
}
pub fn left(mut self) -> Self {
self.alignment.set_x(-1.0);
self