Skip to content

unexpected type 'float' should be rounded in paytoedit.py & util.py #241

@TinosNitso

Description

@TinosNitso

It's impossible for me to run from source without making a few edits. I'm not sure I should fork without simply raising the issues. Line 234 of paytoedit.py could be rounded:

    h = round(min(max(h, self.heightMin), self.heightMax))

Then line 879 of util.py could be rounded:

    y = round((y / 2) + frame_width if middle else y - frame_width)

Then line 1170 of util.py could be rounded too:

            self.timer.start(round(diff*1e3))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions