20 comments

[ 4.0 ms ] story [ 66.5 ms ] thread
Cute!

"A little game - number guessing" fails to process input on latest Android Chrome.

Are you sure? On a mobile device, it's easy to overlook pressing the enter key. Unfortunately, I can't do it much differently because, as far as I know, you can't reliably detect when the on-screen keyboard is closed.
I don't get an Enter key. I get Next which scrolls to next section.
Thank you very much for this feedback. On the desktop and under IOS there is the Enter key, on Android there is really only this Next key - weird. I'll have to sort it out.

Update: Now there should be an Enter key instead of the Next key.

I still get Next.
I suspect that the browser still has the old page saved in the cache. Can you please check this again? The browser should load the current version with this link.

https://easylang.dev/apps/tut_learn.html?v2

No change.

So I deleted site cookies and data. No change.

So I emptied browser cache and retried. Now the button label is Done and press works as expected.

Thank you for your time and effort. The browser cache can really drive one nuts. I assumed that the URL parameter would force a new request.
Perhaps the page Expires is worth checking.
That was stupid of me - I should have also added a URL parameter to the embedded pages.
Suggestion: option to auto-Run upon 1s past each edit.
You can start the program also with Ctrl+R or with Shift+Enter.
Yup. That is what I'd prefer to avoid.
Question: why is rect not centered on pen, as is circle?
Because it has a width and height.
So does circle shape. Yet it is centred on both, whereas rect shape is centred on neither.
I think it's more intuitive this way. When you draw a rectangle, you start with a corner point and then draw the width and height. With a circle, you go to the center and then draw it with a radius.
I think that's true only if one uses a compasses for circle. And that circle does not start with pen at centre. In easylang, it does.

In my opinion, the easylang positioning shoud not be based on any off-computer drawing process specific to the shape type, but on the result, consistently for all shape types. Only this meets e.g. the expectation that change to shape type retains position.

I wish your project every success.

In Piano, quavers are written as crotchets.
Thanks, you're great. I wouldn't have noticed that in a hundred years.