From d6b33f50e8b75e8ee599cc5a71ad41bbb349b422 Mon Sep 17 00:00:00 2001 From: CrispyPin Date: Sat, 8 Jun 2024 20:19:07 +0200 Subject: [PATCH] fix cache not updating when rule is resized --- uscope/src/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/uscope/src/main.rs b/uscope/src/main.rs index 5154f04..230ff7d 100644 --- a/uscope/src/main.rs +++ b/uscope/src/main.rs @@ -372,6 +372,9 @@ fn rule_editor( ui.painter_at(bounds).rect_filled(rect_a, 0., color); ui.painter_at(bounds).rect_filled(rect_b, 0., color); + if result.clicked() { + changed = true; + } result.clicked() }; if resize_box(