fix typo in xor example code
This commit is contained in:
parent
f4ce166964
commit
49c2beeca9
|
@ -28,7 +28,7 @@ func run() {
|
||||||
|
|
||||||
start := time.Now()
|
start := time.Now()
|
||||||
for !win.Closed() {
|
for !win.Closed() {
|
||||||
// in case window got resized, we also need to resize out canvas
|
// in case window got resized, we also need to resize our canvas
|
||||||
canvas.SetBounds(win.Bounds())
|
canvas.SetBounds(win.Bounds())
|
||||||
|
|
||||||
offset := math.Sin(time.Since(start).Seconds()) * 300
|
offset := math.Sin(time.Since(start).Seconds()) * 300
|
||||||
|
|
Loading…
Reference in New Issue