kopia lustrzana https://github.com/pimoroni/pimoroni-pico
Cosmic Unicorn: Fix typo in lava_lamp.
Found while backporting to Galactic.pull/697/head
rodzic
5f3f14e5ce
commit
d750532180
|
@ -41,7 +41,7 @@ class Blob():
|
||||||
|
|
||||||
if self.y < 0.0 or self.y >= float(height):
|
if self.y < 0.0 or self.y >= float(height):
|
||||||
self.y = max(0.0, self.y)
|
self.y = max(0.0, self.y)
|
||||||
self.y = min(float(width - 1), self.y)
|
self.y = min(float(height - 1), self.y)
|
||||||
self.dy = -self.dy
|
self.dy = -self.dy
|
||||||
|
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue