Skip to content

Bug in draw_vline() #11

@CKroek

Description

@CKroek

I think there is a little bug in draw_vline().
You check for boundaries like this:

if self.is_off_grid(x, y, x, y + h):

But shouldn't ist be this:

if self.is_off_grid(x, y, x, y + h - 1):

Like it is in draw_hline():

if self.is_off_grid(x, y, x + w - 1, y):

Just wanted to let you know

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions