aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Odersky <jodersky@gmail.com>2014-05-11 13:25:51 +0200
committerJakob Odersky <jodersky@gmail.com>2014-05-11 13:25:51 +0200
commit69c8a2786ba844a536208b21769af261a35d8641 (patch)
treee3cdbf10aca775d6e85fb0c0f82bb8c925d834f3
parent4e999d147f88ee4ea2dad679ee1e6c25c76baa66 (diff)
downloadplayGraph-69c8a2786ba844a536208b21769af261a35d8641.tar.gz
playGraph-69c8a2786ba844a536208b21769af261a35d8641.tar.bz2
playGraph-69c8a2786ba844a536208b21769af261a35d8641.zip
add graphing
-rw-r--r--app/js/directives.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/js/directives.js b/app/js/directives.js
index f8b8403..a22d340 100644
--- a/app/js/directives.js
+++ b/app/js/directives.js
@@ -32,9 +32,8 @@ app.directive('pgLine', function () {
// Create a new path and set its stroke color to black:
path = new paper.Path({
segments: [event.point],
- strokeColor: 'rgba(7,140,255,.5)',
+ strokeColor: 'rgba(7,140,255,.3)',
strokeWidth: 100,
- fullySelected: true,
strokeCap: 'round'
});
@@ -65,9 +64,6 @@ app.directive('pgLine', function () {
scope.$apply();
}
-
-
-
scope.$watch('list', function(newPoints) {
console.log("update");
if (newPoints) {