Bug in hideAll / showAll behoben

This commit is contained in:
ngb
2022-01-04 11:40:33 +01:00
parent 72c44c42e0
commit 2282f164a1

View File

@@ -32,7 +32,7 @@ public class ShapesLayer extends Layer {
public void showAll() { public void showAll() {
synchronized( shapes ) { synchronized( shapes ) {
for( Shape pShape : shapes ) { for( Shape pShape : shapes ) {
pShape.hide(); pShape.show();
} }
} }
} }
@@ -40,7 +40,7 @@ public class ShapesLayer extends Layer {
public void hideAll() { public void hideAll() {
synchronized( shapes ) { synchronized( shapes ) {
for( Shape pShape : shapes ) { for( Shape pShape : shapes ) {
pShape.show(); pShape.hide();
} }
} }
} }