From 9f5b390429a148baabe49d2ca88ee27807b68b8e Mon Sep 17 00:00:00 2001 From: ajimix Date: Thu, 9 Nov 2017 12:06:41 +0100 Subject: [PATCH] Fix transparent input issue --- input.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input.coffee b/input.coffee index 2e11c06..7ffa4f5 100644 --- a/input.coffee +++ b/input.coffee @@ -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