Skip to content

Commit

Permalink
dont use lineHeight
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Nov 25, 2024
1 parent 4739ec1 commit 6a2b4e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions haxe/ui/backend/TextInputImpl.hx
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ class TextInputImpl extends TextDisplayImpl {
el.style.border = "none";
el.style.resize = "none";
el.style.outline = "none";
el.style.lineHeight = "1.5";
//el.style.lineHeight = "1.5";
el.style.padding = "0px";
el.style.margin = "0px";
el.style.bottom = "0px"; // chrome only?
Expand Down Expand Up @@ -317,7 +317,7 @@ class TextInputImpl extends TextDisplayImpl {
div.style.fontFamily = element.style.fontFamily;
div.style.fontSize = element.style.fontSize;
div.style.whiteSpace = element.style.whiteSpace;
div.style.lineHeight = element.style.lineHeight;
//div.style.lineHeight = element.style.lineHeight;
if ((element is TextAreaElement)) {
div.style.wordBreak = element.style.wordBreak;
div.style.font = Browser.window.getComputedStyle(element).font;
Expand Down

0 comments on commit 6a2b4e0

Please sign in to comment.