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

size getter and string replaces #18

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

AlexV525
Copy link
Contributor

@AlexV525 AlexV525 commented Jun 5, 2022

As commits named.

@AlexV525
Copy link
Contributor Author

AlexV525 commented Jun 5, 2022

Also, given the fact that refreshRate is converted to int in toString() should we apply the change to itself too?

width == other.width &&
height == other.height &&
refreshRate == other.refreshRate;
bool operator ==(Object other) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this actually change the logic? Or is this due to a lint check? 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some styles updates actually. 😸

@ajinasokan
Copy link
Owner

Also, given the fact that refreshRate is converted to int in toString() should we apply the change to itself too?

I don't think so. Refresh rates are fractional by spec.

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

Successfully merging this pull request may close these issues.

2 participants