force redraw and progress panel update after bulk operation

This commit is contained in:
Meduris 2025-08-04 22:51:13 +02:00
parent 78eebbd507
commit d4ec114ebf

View File

@ -348,6 +348,8 @@ public class MapPanel extends JPanel {
Registry.INSTANCE.setBulkOperation(true); Registry.INSTANCE.setBulkOperation(true);
visibleMarkers.forEach(T -> T.setCompletion(value)); visibleMarkers.forEach(T -> T.setCompletion(value));
Registry.INSTANCE.setBulkOperation(false); Registry.INSTANCE.setBulkOperation(false);
EventQueue.invokeLater(this::repaint);
if(progressUpdate != null) progressUpdate.run();
} }
@Override @Override