From 1c3c668247874a35d95621966adf48374cd73c80 Mon Sep 17 00:00:00 2001 From: Lewis Hemens Date: Wed, 22 Jan 2014 22:57:33 +0000 Subject: [PATCH] Added clear method and removed edge of screen bug --- index.html | 22 +++++++--------------- js-lib/controller.js | 6 +++++- js-lib/draw.js | 7 ++++++- js-lib/state.js | 2 +- js-lib/view.js | 4 ++-- 5 files changed, 21 insertions(+), 20 deletions(-) diff --git a/index.html b/index.html index b71b765..447d938 100644 --- a/index.html +++ b/index.html @@ -46,10 +46,11 @@ button.active { background: #D0E0FF; } -#export-button, #import-button { +button.file { background: #D8D8D8; } -#export-button.active, #import-button.active { + +button.file.active { background: #C8C8C8; } @@ -73,17 +74,7 @@ button.active { margin: 0px; } -#export-area, #import-area { - width: 380px; - height: 280px; - overflow: hidden; - resize: none; - margin: 5px; - font-family: monospace; - white-space: pre; -} - -#input-area { +textarea { width: 380px; height: 280px; overflow: hidden; @@ -106,8 +97,9 @@ button.active {