Skip to content

Commit

Permalink
workaround for issue with text and choice
Browse files Browse the repository at this point in the history
might look kinda weird but it is better than missing text
  • Loading branch information
ajusa committed Dec 30, 2020
1 parent fd31cbe commit 54780af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/text.moon
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ on "input", =>
else
dispatch "next_ins"
on "draw_text", ->
if focused
if #buffer > 0
w = lg.getWidth! - 2*pad
h = pad + (font\getHeight! + pad) * lines
x = pad
Expand Down

0 comments on commit 54780af

Please sign in to comment.