Skip to content

Commit

Permalink
fix(default_pixel_at): use exact return type
Browse files Browse the repository at this point in the history
  • Loading branch information
emptybutton committed Dec 12, 2024
1 parent 1bf90ec commit aafc7a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pixel_battle/entities/core/pixel.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def __post_init__(self) -> None:
raise PixelOutOfCanvasError


def default_pixel_at(position: Position) -> Pixel[Color]:
def default_pixel_at(position: Position) -> Pixel[RGBColor]:
return Pixel(position=position, color=white)


Expand Down

0 comments on commit aafc7a6

Please sign in to comment.