aboutsummaryrefslogtreecommitdiff
path: root/src/Update/Update.elm
diff options
context:
space:
mode:
authorJoris Guyonvarch2015-03-21 12:50:45 +0100
committerJoris Guyonvarch2015-03-21 12:50:45 +0100
commita01687a3f0479734882eabed82bd100fc811b698 (patch)
tree7d764652bb57bb8983cf737fb3ab8ec6a9f59ec1 /src/Update/Update.elm
parent29eac851219e36bccf2724b05d52b70438b5bf3f (diff)
Number from the top row are accepted too
Diffstat (limited to 'src/Update/Update.elm')
-rw-r--r--src/Update/Update.elm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Update/Update.elm b/src/Update/Update.elm
index 2cb45cb..5e8c13e 100644
--- a/src/Update/Update.elm
+++ b/src/Update/Update.elm
@@ -98,7 +98,7 @@ update action model =
ReadOnly ->
{ model | timerEdition <- Nothing }
KeyPressed keyCode ->
- { model | timerEdition <- Maybe.map (updateTimerEdition (keyCodeToChar keyCode)) model.timerEdition }
+ { model | timerEdition <- Maybe.map (updateTimerEdition (keyCodeToNumberChar keyCode)) model.timerEdition }
updateTimerTime : TimerEdition -> Dict Id Timer -> Dict Id Timer
updateTimerTime timerEdition =