git.iko.soy/typeable/elm-ui
on master help sign in
ensure moveUp correction is an integer to prevent font blurring
eaf7041Matthew Griffith
src/Element/Input.elm+1−1
@@ -1111,7 +1111,7 @@ calcMoveToCompensateForPadding attrs =
1111 Internal.NoAttribute
1111 Internal.NoAttribute
1112
1112
1113 Just vSpace ->
1113 Just vSpace ->
1114− Element.moveUp (toFloat vSpace / 2)
1114+ Element.moveUp (floor (toFloat vSpace / 2)))
1115
1115
1116
1116
1117{-| Given the list of attributes provided to `Input.multiline` or `Input.text`,
1117{-| Given the list of attributes provided to `Input.multiline` or `Input.text`,