mirror of
https://github.com/jneug/zeichenmaschine.git
synced 2026-10-12 01:45:18 +02:00
Bug in hideAll / showAll behoben
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user