Repaint the Classic preview after an opacity edit

This commit is contained in:
yoriswind committed 2026-12-01 02:08:47 -08:00
1 parent f2bb1978b4
commit 8020ed7c7f
1 file changed
+4
@@ -123,6 +123,10 @@ pub(crate) fn bar(app: &mut PhotocraftApp, ui: &mut egui::Ui) {
if let Some(at) = presets {
preset_picker(app, ui, at);
}
if before.fill_opacity != app.ui.tool_options.fill_opacity {
// The swatch painted before the Opacity field accepted the edit.
craft::ui::runtime::frame::request_repaint(ui.ctx());
}
options_changed(app, &before);
}