Skip to content

background-grid-size-save#712

Open
ThomasLucky13 wants to merge 1 commit intoOpenBoard-org:devfrom
ThomasLucky13:background-grid-size-save
Open

background-grid-size-save#712
ThomasLucky13 wants to merge 1 commit intoOpenBoard-org:devfrom
ThomasLucky13:background-grid-size-save

Conversation

@ThomasLucky13
Copy link
Contributor

@ThomasLucky13 ThomasLucky13 commented Dec 2, 2022

Saving background grid size when it has been changed.

The grid size of background is not saving when OpenBoard closes and opens again.
I changed it and now when OpenBoard opens background has grid size the same as before it closed

Saving background grid size when it has been changed.
@habruening
Copy link

Was it not possible to use the variable crossSize directly?
Is the variable defaultCrossSize still needed?

@ThomasLucky13
Copy link
Contributor Author

I don't use the variable crossSize directly because assigning a value and storing it in one function looks more convenient. I did not remove the defaultCrossSize variable because it is still used in the defaultBackgroundGridSize() function and I considered it unnecessary to change this.

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