forked from Speiger/Mario-Kart-World-Tracking-Tool
force redraw and progress panel update after bulk operation
This commit is contained in:
1 parent
78eebbd507
commit
d4ec114ebf
1 file changed
+2
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user