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

Update memory example to use row and column count properties #136

Merged
merged 1 commit into from
Dec 24, 2020
Merged

Update memory example to use row and column count properties #136

merged 1 commit into from
Dec 24, 2020

Conversation

gondolyr
Copy link
Contributor

@gondolyr gondolyr commented Dec 24, 2020

Using row and column count properties improves the readability, extensibility, and maintainability by removing the magic numbers for the other calculated properties. Previously, it took me some time to understand what these numbers represented and this change should remove this difficulty.

As this is a non-breaking refactor, the game still appears the same:

memory

Using row and column count properties improves the readability,
extensibility, and maintainability by removing the magic numbers for the
other calculated properties. Previously, it took me some time to
understand what these numbers represented and this change should remove
this difficulty.
@CLAassistant
Copy link

CLAassistant commented Dec 24, 2020

CLA assistant check
All committers have signed the CLA.

@tronical tronical merged commit 4c1d359 into slint-ui:master Dec 24, 2020
@tronical
Copy link
Member

Thanks :)

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.

None yet

3 participants