Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Tidy up

  • Loading branch information...
commit fe952d9a9ce1f15a2459598a0b52d1337b14665c 1 parent 51390b5
Alex Gibson authored

Showing 1 changed file with 0 additions and 4 deletions. Show diff stats Hide diff stats

  1. 4  main.js
4  main.js
@@ -169,7 +169,6 @@ var sketch = (function () {
169 169
 			grad1.addColorStop(0.25, 'red');
170 170
 			grad1.addColorStop(0.50, 'blue');
171 171
 			grad1.addColorStop(0.75, 'limegreen');*/
172  
-  
173 172
 			//ctx.strokeStyle = grad1;
174 173
 		
175 174
 			ctx.lineCap = 'round';
@@ -234,7 +233,6 @@ var sketch = (function () {
234 233
 			canvas.setAttribute("height", window.innerHeight + "px"); 
235 234
 			canvas.setAttribute("width",  window.innerWidth + "px");
236 235
 			sketch.saveImageData();
237  
-			sketch.toggleOptions();
238 236
 		},
239 237
 
240 238
 		toggleOptions: function () {
@@ -248,7 +246,6 @@ var sketch = (function () {
248 246
 		showDrawingOptions: function () {
249 247
 			var doc = document,
250 248
 			clearButton = doc.getElementById('clear-canvas');
251  
-
252 249
 			clearButton.style.fontSize = 100 * pixelRatio + '%';
253 250
 			clearButton.addEventListener('click', this.clearCanvas, false);
254 251
 			doc.querySelector('.options').style.display = 'block';
@@ -257,7 +254,6 @@ var sketch = (function () {
257 254
 
258 255
 		closeDrawingOptions: function () {
259 256
 			var doc = document;
260  
-
261 257
 			doc.getElementById('clear-canvas').removeEventListener('click', this.clearCanvas, false);
262 258
 			doc.querySelector('.options').style.display = 'none';
263 259
 			optionsOpen = false;

0 notes on commit fe952d9

Please sign in to comment.
Something went wrong with that request. Please try again.