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

Add point draw methods for styles 'dot-color' and 'dot-size' #2214

Merged
merged 1 commit into from
Oct 23, 2016

Conversation

wimrijnders
Copy link
Contributor

Additionally:

  • Consolidated calculation for determining the colors to use: scan on _getColors.
  • Consolidated calculation of radius on-screen: scan on _calcRadius.
  • I also note the following recurring initializations:
   ctx.lineJoin = 'round';
   ctx.lineCap = 'round';

These fields are never initialized to another value; so I moved them to _getContext().

@yotamberk yotamberk merged commit a9be8e7 into almende:develop Oct 23, 2016
@wimrijnders wimrijnders deleted the PR23 branch October 23, 2016 11:45
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.

3 participants