mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
examples/textinput: add a comment
This commit is contained in:
parent
c2933b657c
commit
af5edf136d
@ -149,6 +149,9 @@ func (t *TextField) Update() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var processed bool
|
var processed bool
|
||||||
|
|
||||||
|
// Text inputting can happen multiple times in one tick (1/60[s] by default).
|
||||||
|
// Handle all of them.
|
||||||
for {
|
for {
|
||||||
if t.ch == nil {
|
if t.ch == nil {
|
||||||
x, y := t.bounds.Min.X, t.bounds.Min.Y
|
x, y := t.bounds.Min.X, t.bounds.Min.Y
|
||||||
|
Loading…
Reference in New Issue
Block a user