Find the canvas tools by the condition they are gated on now

The download fix renamed the canvas gates to root.has-photo, and the
canvas-order test still searched for the old spelling, so it panicked
before checking anything. The order it guards is unchanged.
This commit is contained in:
2026-09-26 11:58:30 -04:00
parent c3b10ed372
commit 8a1d9c8642
+2 -2
View File
@@ -1877,8 +1877,8 @@ mod canvas_order {
for tool in [
"pick := TouchArea",
"paint := TouchArea",
"Develop.repairing && root.total > 0",
"root.sampling && root.total > 0",
"Develop.repairing && root.has-photo",
"root.sampling && root.has-photo",
] {
assert!(
pan < at(tool),