Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Remove global background colour variable #179

Merged
merged 1 commit into from Jul 31, 2018
Merged

Remove global background colour variable #179

merged 1 commit into from Jul 31, 2018

Conversation

Aerijo
Copy link
Contributor

@Aerijo Aerijo commented Jul 25, 2018

My last PR added a choice for default background colour. As a global variable 馃槖.

This PR changes the value to a property of the ImageEditorView. I would have made it just local, but it might be more useful this way.

I could have moved it up to the main body of the constructor, but I don't think it really matters.

@Aerijo
Copy link
Contributor Author

Aerijo commented Jul 25, 2018

@lee-dohm Sorry for the ping, I think this should be merged quickly though. Who knows what a stray global can do (granted, it's only created if the user opens an image).

@lee-dohm
Copy link
Contributor

Pretty sure this isn't a global variable because of Node's module loading and protections, so at least it is module local instead of global.

@lee-dohm lee-dohm merged commit 3055e3e into atom:master Jul 31, 2018
@lee-dohm
Copy link
Contributor

Thanks for the help 馃帀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants