From 40ceac96c8d6cb46f02397ec9e8d8a90b6a04aa2 Mon Sep 17 00:00:00 2001 From: Jakob Odersky Date: Sun, 11 May 2014 13:36:33 +0200 Subject: do some cleanup --- app/css/app.css | 3 +++ app/index.html | 62 ++++------------------------------------------------ app/js/directives.js | 2 +- 3 files changed, 8 insertions(+), 59 deletions(-) diff --git a/app/css/app.css b/app/css/app.css index 9fb3c90..65d6bb1 100644 --- a/app/css/app.css +++ b/app/css/app.css @@ -8,6 +8,9 @@ .world { position: relative; border: solid #999999 1px; + width: 100%; + height: 1000px; + overflow: hidden; } .world .line { diff --git a/app/index.html b/app/index.html index 4f960a6..8bb6176 100644 --- a/app/index.html +++ b/app/index.html @@ -41,11 +41,13 @@
TrackList : -
-empty
+
-
+
@@ -54,64 +56,8 @@
-
    -
  • {{point.x}}, {{point.y}}
  • - -
- - - - -
diff --git a/app/js/directives.js b/app/js/directives.js index a22d340..a367920 100644 --- a/app/js/directives.js +++ b/app/js/directives.js @@ -53,7 +53,7 @@ app.directive('pgLine', function () { var points = Array(); // When the mouse is released, simplify it: - path.simplify(1); + path.simplify(10); for(var i=0; i