Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
TinosNitso opened this issue Jul 16, 2022 · 0 comments
Open

Comments

@TinosNitso
Copy link

TinosNitso commented Jul 16, 2022

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))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant