mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-17 00:44:40 -04:00
fixed a bug in the tunnel shape
This commit is contained in:
parent
b4c820425f
commit
b1d1b672a7
@ -59,7 +59,7 @@ public class TunnelShape implements Shape {
|
||||
// }
|
||||
|
||||
gr.drawPolygon(new Polygon(true)
|
||||
.add(1, 0)
|
||||
.add(0, 0)
|
||||
.add(WIDTH, HEIGHT)
|
||||
.add(WIDTH, -HEIGHT), Style.NORMAL);
|
||||
Vector pos = new Vector(WIDTH + SIZE2 / 2, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user