diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-12-09 15:06:02 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-12-09 15:06:02 +0200 |
commit | a265ab290cc9bce2f0c305a3eaf9d743380b967b (patch) | |
tree | b0842b3fa63ecfb7b135341e40abf70659bf1101 /src/ui/labelwidget.c | |
parent | 38bc51a65be35488857249e5ed5949172f06ee89 (diff) |
iOS: Fixes and new edit menu for UploadWidget
The sizing and behavior of the input field on the plain text upload page is much improved.
Diffstat (limited to 'src/ui/labelwidget.c')
-rw-r--r-- | src/ui/labelwidget.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/labelwidget.c b/src/ui/labelwidget.c index 9e0d37e4..5ad43b0e 100644 --- a/src/ui/labelwidget.c +++ b/src/ui/labelwidget.c | |||
@@ -134,6 +134,10 @@ static iBool processEvent_LabelWidget_(iLabelWidget *d, const SDL_Event *ev) { | |||
134 | refresh_Widget(d); | 134 | refresh_Widget(d); |
135 | return iFalse; | 135 | return iFalse; |
136 | } | 136 | } |
137 | else if (isCommand_Widget(w, ev, "trigger")) { | ||
138 | trigger_LabelWidget_(d); | ||
139 | return iTrue; | ||
140 | } | ||
137 | if (!isEmpty_String(&d->command)) { | 141 | if (!isEmpty_String(&d->command)) { |
138 | #if 0 && defined (iPlatformAppleMobile) | 142 | #if 0 && defined (iPlatformAppleMobile) |
139 | /* Touch allows activating any button on release. */ | 143 | /* Touch allows activating any button on release. */ |