fix cache not updating when rule is resized

This commit is contained in:
Crispy 2024-06-08 20:19:07 +02:00
parent f0b3095eb9
commit d6b33f50e8

View file

@ -372,6 +372,9 @@ fn rule_editor(
ui.painter_at(bounds).rect_filled(rect_a, 0., color); ui.painter_at(bounds).rect_filled(rect_a, 0., color);
ui.painter_at(bounds).rect_filled(rect_b, 0., color); ui.painter_at(bounds).rect_filled(rect_b, 0., color);
if result.clicked() {
changed = true;
}
result.clicked() result.clicked()
}; };
if resize_box( if resize_box(