From 8a1d9c8642ae8355f2692098a2a3b2d27214fc9f Mon Sep 17 00:00:00 2001 From: Duncan Tourolle Date: Sat, 26 Sep 2026 11:58:30 -0400 Subject: [PATCH] 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. --- ui/dr-ui/src/masks_ui.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/dr-ui/src/masks_ui.rs b/ui/dr-ui/src/masks_ui.rs index ae1938a..954103b 100644 --- a/ui/dr-ui/src/masks_ui.rs +++ b/ui/dr-ui/src/masks_ui.rs @@ -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),