Skip to content

Commit

Permalink
make background transparent
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Aug 31, 2023
1 parent 8c8ef75 commit 561e846
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions haxe/ui/backend/TextInputImpl.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package haxe.ui.backend;

import haxe.ui.util.Timer;
import haxe.ui.backend.html5.HtmlUtils;
import haxe.ui.util.Timer;
import js.Browser;
import js.html.CSSStyleDeclaration;
import js.html.Element;
Expand Down Expand Up @@ -202,7 +202,7 @@ class TextInputImpl extends TextDisplayImpl {
el.style.overflow = "hidden";
el.style.cursor = "initial";
el.style.position = "absolute";
el.style.backgroundColor = "inherit";
el.style.backgroundColor = "transparent";
el.style.padding = "0px";
//el.style.marginLeft = "-1px";
//el.style.marginTop = "-1px";
Expand All @@ -220,7 +220,7 @@ class TextInputImpl extends TextDisplayImpl {
el.style.overflow = "hidden";
el.style.cursor = "initial";
el.style.position = "absolute";
el.style.backgroundColor = "inherit";
el.style.backgroundColor = "transparent";
el.style.whiteSpace = "pre-wrap";
el.id = "textArea";
el.spellcheck = false;
Expand Down

0 comments on commit 561e846

Please sign in to comment.