aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--design/design.css2
-rw-r--r--src/Update/Update.elm3
-rw-r--r--src/View/Timer.elm4
3 files changed, 3 insertions, 6 deletions
diff --git a/design/design.css b/design/design.css
index 6909105..6dd251e 100644
--- a/design/design.css
+++ b/design/design.css
@@ -112,7 +112,7 @@
}
.timer > .name {
- width: 300px;
+ width: 400px;
cursor: text;
}
diff --git a/src/Update/Update.elm b/src/Update/Update.elm
index f3bb263..5a902df 100644
--- a/src/Update/Update.elm
+++ b/src/Update/Update.elm
@@ -36,7 +36,6 @@ type Action =
| UpdateTimer Id TimerAction
| RemoveTimer Id
| Edit Id Kind
- | ValidEdition
| ClickAway
| KeyPressed KeyCode
@@ -89,8 +88,6 @@ update action model =
then Dict.update id (Maybe.map (updateTimer Pause)) model.timers
else model.timers
}
- ValidEdition ->
- validEdition model
ClickAway ->
{ model | edition <- Nothing }
KeyPressed keyCode ->
diff --git a/src/View/Timer.elm b/src/View/Timer.elm
index c8b6561..50144ef 100644
--- a/src/View/Timer.elm
+++ b/src/View/Timer.elm
@@ -52,7 +52,7 @@ nameBlockEdition id timer edition =
, (List.isEmpty edition.chars, "empty")
]
|> activatedClasses
- , onClick (Signal.send updates ValidEdition)
+ , onClick (Signal.send updates NoOp)
]
[ if List.isEmpty edition.chars
then
@@ -89,7 +89,7 @@ timeBlockEdition timer edition =
, (isEmptyEdition, "empty")
]
|> activatedClasses
- , onClick (Signal.send updates ValidEdition)
+ , onClick (Signal.send updates NoOp)
]
[ if isEmptyEdition
then