From a01687a3f0479734882eabed82bd100fc811b698 Mon Sep 17 00:00:00 2001 From: Joris Guyonvarch Date: Sat, 21 Mar 2015 12:50:45 +0100 Subject: Number from the top row are accepted too --- src/Update/Update.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Update/Update.elm') 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 = -- cgit v1.2.3