Aaron Fenyes
721a8716d4
Assembly: don't track element list when inserting
...
Calling `try_insert_element` or `insert_new_element` in a responsive
context shouldn't make the context track `elements_by_id`.
2024-09-28 18:49:17 -07:00
Aaron Fenyes
4f8f36053f
App: use general test assembly from inversive-display
...
This moves us toward dropping the separate display prototype.
2024-09-28 14:18:04 -07:00
Aaron Fenyes
28b1ecb8e9
App: use element insertion method in test
2024-09-28 13:29:09 -07:00
Aaron Fenyes
b08dbd6f93
Assembly: factor out element insertion
2024-09-28 13:27:03 -07:00
Aaron Fenyes
bd0982f821
AddRemove: make a button that adds elements
...
In the process, switch selection storage back to `FxHashSet`, reverting
commit b3afd6f
.
2024-09-27 14:33:49 -07:00
Aaron Fenyes
2444649dd1
AddRemove: underscore unused event variables
2024-09-26 19:17:57 -07:00
Aaron Fenyes
b3afd6f555
App: Store selection in BTreeSet
...
Since we're using `BTreeSet` for element constraint sets now, we might
as well use it for the selection set too. This removes the `rustc-hash`
dependency.
2024-09-26 19:16:41 -07:00
Aaron Fenyes
9b39fe56b8
Outline: include constraints in element diff key
...
This tells Sycamore that the outline view of an element should update
when the element's constraint set has changed. To make the constraint
set hashable, so we can include it in the diff key, we store it as a
`BTreeSet` instead of an `FxHashSet`.
2024-09-26 19:10:34 -07:00
Aaron Fenyes
f5486fb0dd
AddRemove: make a button that adds constraints
2024-09-26 15:02:51 -07:00
Aaron Fenyes
7ff1b9cb65
App: rename directory
2024-09-26 13:22:48 -07:00