flake fixes
This commit is contained in:
parent
00f42b9d4c
commit
244ddf6140
2 changed files with 1 additions and 3 deletions
|
@ -2,7 +2,6 @@ from typing import Any, Tuple
|
||||||
import pygame as pg
|
import pygame as pg
|
||||||
from effects.effect import Effect, Colors, rainbow_surface, transform_oscillate
|
from effects.effect import Effect, Colors, rainbow_surface, transform_oscillate
|
||||||
import math
|
import math
|
||||||
from typing import Union, Generator
|
|
||||||
|
|
||||||
|
|
||||||
class MovingWave(Effect):
|
class MovingWave(Effect):
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
from typing import Any, Tuple
|
from typing import Any, Tuple
|
||||||
import pygame as pg
|
import pygame as pg
|
||||||
from effects.effect import Effect, Colors, transform_bounce
|
from effects.effect import Effect, Colors, transform_bounce
|
||||||
import random
|
|
||||||
import math
|
import math
|
||||||
from typing import Union, Generator
|
from typing import Union, Generator
|
||||||
|
|
||||||
|
@ -81,7 +80,7 @@ class RotatingPoly(Effect):
|
||||||
node_positions.append((pos_x, pos_y))
|
node_positions.append((pos_x, pos_y))
|
||||||
|
|
||||||
pg.draw.polygon(
|
pg.draw.polygon(
|
||||||
self.image, self.o_color, node_positions, width=int(self.spot_radius*1.5)
|
self.image, self.o_color, node_positions, width=int(self.spot_radius * 1.5)
|
||||||
)
|
)
|
||||||
|
|
||||||
for pos_x, pos_y in node_positions:
|
for pos_x, pos_y in node_positions:
|
||||||
|
|
Loading…
Reference in a new issue