- Show the button that will be activated if you hit Enter with a special
style. This is the focused button, if there is one, or else the submit
button (usually the "OK" button.)
- Mark buttons with type="submit" or type="button". This may or may not
prevent bad implicit Enter handling in some dialog(s).
- TODO: handle Enter in Edit Colors dialog; test everything
I had put this off for a long time because I wanted to get it exactly correct, but some is better than none!
And some dialogs are custom anyways, so there's no "right" answer.
Enable resizable windows! And proper dialog window styles!
Tool window titlebar text is truncated with ellipses now instead of making the window ridiculously wide for some languages, e.g. EspaƱol which reads "Herramientas" for "Tools"
- Enlarge some dialog windows in Eye Gaze Mode to as big as they can be.
- Treat upscaled Edit Colors dialog as two screens like for small viewports.
- Standardize on setting the width of window content rather than the frame,
because this method doesn't work with a window with `width` set on the frame.
This may affect window sizes slightly.
$ lebab --replace src/ --transform let
src/$Component.js:
59: warning Unable to transform var (let)
60: warning Unable to transform var (let)
97: warning Unable to transform var (let)
138: warning Unable to transform var (let)
src/$Window.js:
74: warning Unable to transform var (let)
src/app.js:
662: warning Unable to transform var (let)
460: warning Unable to transform var (let)
612: warning Unable to transform var (let)
613: warning Unable to transform var (let)
614: warning Unable to transform var (let)
src/functions.js:
756: warning Unable to transform var (let)
src/image-manipulation.js:
245: warning Unable to transform var (let)
826: warning Unable to transform var (let)
src/imgur.js:
48: warning Unable to transform var (let)
173: warning Unable to transform var (let)
Handle JSON parsing explicitly and give a better error message in case it ever happens.
Avoid having to avoid things the jQuery.ajax API does by default.