mirror of
https://github.com/jneug/zeichenmaschine.git
synced 2026-10-12 01:45:18 +02:00
closePath() finalisiert den erstellten Pfad
This commit is contained in:
@@ -298,6 +298,7 @@ public class TurtleLayer extends Layer {
|
|||||||
if( pathOpen ) {
|
if( pathOpen ) {
|
||||||
addPosToPath();
|
addPosToPath();
|
||||||
path.closePath();
|
path.closePath();
|
||||||
|
path.trimToSize();
|
||||||
pathOpen = false;
|
pathOpen = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user