Commit Graph

16 Commits

Author SHA1 Message Date
Hajime Hoshi
4b1c0526a7 exp/textinput: add Field
Closes #2827
2024-03-20 23:19:32 +09:00
Hajime Hoshi
cd90f083bc text/v2: rename StdFace to GoXFace
Closes #2925
2024-03-20 02:42:31 +09:00
Hajime Hoshi
4d72f97e45 exp/textinput: add State.Error 2024-03-03 20:53:58 +09:00
Hajime Hoshi
dd6f5c4565 exp/textinput: bug fix: flaky behavior on iOS Safari
Closes #2898
2024-02-06 12:46:37 +09:00
Hajime Hoshi
5c7bfd3ed7 exp/textinput, examples/textinput: bug fix: handle input states correctly on Android Chrome
Updates #2898
2024-02-03 22:53:42 +09:00
Hajime Hoshi
f9fa5a14f2 examples/textinput: bug fix: accept touches
The remaining task is to enable a backspace key.

Updates #2898
2024-01-31 00:15:32 +09:00
Hajime Hoshi
f57703175e text/v2: rename LineSpaceInPixels -> LineSpace for consistency
Updates #2454
2023-12-24 15:06:19 +09:00
Hajime Hoshi
a444f2dd40 text/v2: replace Metrics.Height/Width with HLineGap and VLineGap
Updates #2454
2023-12-02 14:33:41 +09:00
Hajime Hoshi
147175d400 text/v2: rename LineHeight -> LineSpacingInPixels
Updates #2454
2023-11-17 01:19:05 +09:00
Hajime Hoshi
b2c45a369a text/v2: remove the suffix 'InPixels'
Now all the units are pixels, the suffix is redundant.

Updates #2454
2023-11-15 21:53:58 +09:00
Hajime Hoshi
46600b42f9 text/v2: swap the arguments of Advance for consistency 2023-11-15 03:18:23 +09:00
Hajime Hoshi
b8b8b16098 all: add text/v2
This change adds some basic APIs incuding StdFace.

GoTextFace will be added later.

Updates #2454
2023-11-12 17:04:25 +09:00
Hajime Hoshi
d7a8f73a37 examples/textinput: add a log message about environments
Updates #2735
Updates #2736
2023-09-20 22:25:13 +09:00
Hajime Hoshi
2b03637b52 examples/textinput: bug fix: reset the state after committing 2023-08-02 18:09:55 +09:00
Hajime Hoshi
af5edf136d examples/textinput: add a comment 2023-08-02 18:02:42 +09:00
Hajime Hoshi
929539b66e add exp/textinput package
This works only for macOS and browsers so far.

Updates #1029
2023-07-05 02:09:04 +09:00