# HG changeset patch # User Eugen Sawin # Date 1324232159 -3600 # Node ID 681b1d7dc3a9c88f533452b0be37507dae8f03a7 # Parent 7b3fc980d9d780aafd3fc26f6cf626f165167f5c Prettier lines. diff -r 7b3fc980d9d7 -r 681b1d7dc3a9 factory/v2012/script.js --- a/factory/v2012/script.js Sun Dec 18 18:57:49 2011 +0100 +++ b/factory/v2012/script.js Sun Dec 18 19:15:59 2011 +0100 @@ -133,8 +133,15 @@ context.lineTo(menu_width - 1, menu_height - 1); context.closePath(); context.strokeStyle = colour1a.str(); - context.stroke(); -var colour1b = new Colour(0, 0, 0, 0.1); + context.stroke(); + var colour1e = new Colour(0, 0, 0, 0.05); + context.beginPath(); + context.moveTo(70, menu_height - 1); + context.lineTo(menu_width - 71, menu_height - 1); + context.closePath(); + context.strokeStyle = colour1e.str(); + context.stroke(); + var colour1b = new Colour(0, 0, 0, 0.05); context.beginPath(); context.moveTo(50, menu_height - 1); context.lineTo(menu_width - 51, menu_height - 1); @@ -171,6 +178,10 @@ context.clearRect(menu_splits[0] - 1, menu_height - 1, 2, 2); context.clearRect(menu_splits[1] - 1, menu_height - 1, 2, 2); context.clearRect(menu_splits[2] - 1, menu_height - 1, 2, 2); + + context.clearRect(menu_splits[0] - 1, menu_height - 2, 1, 1); + context.clearRect(menu_splits[1] - 1, menu_height - 2, 1, 1); + context.clearRect(menu_splits[2] - 1, menu_height - 2, 1, 1); } function clearMenuLines() { diff -r 7b3fc980d9d7 -r 681b1d7dc3a9 script.js --- a/script.js Sun Dec 18 18:57:49 2011 +0100 +++ b/script.js Sun Dec 18 19:15:59 2011 +0100 @@ -133,8 +133,15 @@ context.lineTo(menu_width - 1, menu_height - 1); context.closePath(); context.strokeStyle = colour1a.str(); - context.stroke(); -var colour1b = new Colour(0, 0, 0, 0.1); + context.stroke(); + var colour1e = new Colour(0, 0, 0, 0.05); + context.beginPath(); + context.moveTo(70, menu_height - 1); + context.lineTo(menu_width - 71, menu_height - 1); + context.closePath(); + context.strokeStyle = colour1e.str(); + context.stroke(); + var colour1b = new Colour(0, 0, 0, 0.05); context.beginPath(); context.moveTo(50, menu_height - 1); context.lineTo(menu_width - 51, menu_height - 1); @@ -171,6 +178,10 @@ context.clearRect(menu_splits[0] - 1, menu_height - 1, 2, 2); context.clearRect(menu_splits[1] - 1, menu_height - 1, 2, 2); context.clearRect(menu_splits[2] - 1, menu_height - 1, 2, 2); + + context.clearRect(menu_splits[0] - 1, menu_height - 2, 1, 1); + context.clearRect(menu_splits[1] - 1, menu_height - 2, 1, 1); + context.clearRect(menu_splits[2] - 1, menu_height - 2, 1, 1); } function clearMenuLines() {