rexrainbow / phaser3-rex-notes

Notes of phaser3 engine
MIT License
1.21k stars 262 forks source link

BBCodeText background corner radius becomes square on editing #432

Closed charlie-says closed 1 month ago

charlie-says commented 5 months ago

Minor issue, I was just implementing an editable textfield, and noticed that when I applied rounded corners to the background, this became square when you were editing the text.

rexrainbow commented 5 months ago

Text-edit will place an InputText object at the same position of text game object. However, I did not add round-corner feature for InputText. Add this feature to TODO.

rexrainbow commented 5 months ago

Support backgroundCornerRadius parameter, please see this demo, line 23. NPM package will upgrade at end of this month.