https://kotlinlang.org logo
#korge
Title
# korge
d

Dave

09/01/2020, 7:11 AM
I see that there is a ticket for "Support editable text area / text field #91". A colleague of mine wrote one based on old version of korge. I will add it to my pull request. However, the API has changed a little, and I need some input on how to update it to the latest. Who can best help?
r

RezMike

09/01/2020, 7:14 AM
I can help you
I can add all the neccessary changes to your PR to make it up-to-date with the korge API.
d

Dave

09/01/2020, 7:20 AM
should I push the current state then, even if it won't compile.
r

RezMike

09/01/2020, 7:21 AM
yeah, you can do that
d

Dave

09/01/2020, 7:22 AM
I've found some of the fixes, e.g. Font.fillText --> Font.drawText, color argument --> ColorPaint(color) but I can't find what to change 'TtfFont.Origin' into or how to access 'font.ascender'
ok, pushed. Please let me know when you have fixed, as I want to have the fixes 🙂 thanks.
r

RezMike

09/01/2020, 7:25 AM
@Dave, could you propose a new PR with these changes? Right now they are in the PR with MeshBuilder3D
you need to create a new branch and commit the changes there
d

Dave

09/01/2020, 7:45 AM
done