Skip to content

Commit

Permalink
Fix transparent input issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ajimix committed Nov 9, 2017
1 parent 258eb4d commit 9f5b390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion input.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class exports.Input extends Layer
options.width ?= Screen.width
options.clip ?= false
options.height ?= 60
options.backgroundColor ?= if options.setup then "rgba(255, 60, 47, .5)" else "transparent"
options.backgroundColor ?= if options.setup then "rgba(255, 60, 47, .5)" else "rgba(255, 255, 255, .01)" # "transparent" seems to cause a bug in latest safari version
options.fontSize ?= 30
options.lineHeight ?= 1
options.padding ?= 10
Expand Down

0 comments on commit 9f5b390

Please sign in to comment.