Skip to content
This repository has been archived by the owner on Jul 29, 2019. It is now read-only.

Graph3d: make setting dotSizeRatio public #2202

Merged
merged 3 commits into from
Oct 21, 2016
Merged

Conversation

wimrijnders
Copy link
Contributor

Oversight. dotSizeRatio wasn't public in the code, but the documentation says it is.

@wimrijnders
Copy link
Contributor Author

While I'm at it, DRY'd the dotSize calculation.

@@ -897,13 +898,18 @@ Graph3d.prototype._redrawClear = function() {
};


Graph3d.prototype._dotSize = function() {
return this.frame.clientWidth * this.dotSizeRatio;
Copy link
Member

Choose a reason for hiding this comment

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

indent missing ;-)

@mojoaxel
Copy link
Member

@wimrijnders Sorry for refusing to merge. I mean it more like a joke. If you want you can fix the ident, or I'll merge it as it is...

@wimrijnders
Copy link
Contributor Author

Crap. First time I get an actual review error. There goes my reputation.....

Sorry for refusing to merge. I mean it more like a joke.

Nonono, you're absolutely right. You can make a joke of it but still it needs to be done right.
It's good if you as the reviewer makes a note of this. Those silly committers should learn some discipline.

@mojoaxel mojoaxel merged commit 7424bfb into almende:develop Oct 21, 2016
@wimrijnders wimrijnders deleted the PR16 branch October 22, 2016 07:21
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.

2 participants