force redraw and progress panel update after bulk operation
This commit is contained in:
parent
78eebbd507
commit
d4ec114ebf
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user