b4ee21a00d
Reduce global JavaScript variables for Turtle
...
Fixes
2023-11-25 01:18:19 +01:00
e03e67a1a5
Only return height and width for Turtle if canvas is present
...
Fixes CODEOCEAN-FRONTEND-4P
2023-11-17 14:59:49 +01:00
3d5f55f8ed
Only apply Turtle update if canvas is present
...
Fixes CODEOCEAN-FRONTEND-4T
2023-11-17 14:59:49 +01:00
bb9e0d4825
Fix undefined error for Turtle update
...
Even though the error occurs not very frequent, we want to resolve it. Sentry identified that the former error still occurs and we try once more to fix it.
Fixes CODEOCEAN-JH
2023-03-14 19:31:51 +01:00
025fa355d2
Improve loop for Turtle#update
2023-03-03 14:09:46 +01:00
82cab390ad
Remove outdated run method from turtle.js
2021-11-01 17:12:57 +01:00
b78c535671
Prevent access to undefined turtle element
2021-01-25 11:27:00 +01:00
664dadf404
Check for coords before using it
2020-11-11 17:35:06 +01:00
24c0a8ce50
Convert unsafe comparison to safe variant in turtle.js
2020-11-11 17:25:20 +01:00
c93e47277a
Refactor key binding for turtle and forward key presses if websocket connection is closed.
2020-10-29 13:48:13 +01:00
c19f8b9abe
Add spiek for line width support in turtle
2020-10-28 23:50:13 +01:00
24b9148a42
Always use latest websocket connection for Turtle events
2020-03-07 23:24:33 +01:00
3fa52ab2b6
Move clicks for Turtle to our grid
2020-02-13 16:17:39 +01:00
2d07afa109
Fix canvas size for reruns. Again.
2020-02-13 09:52:14 +01:00
8c1fd66b92
Fix canvas size for reruns.
2020-02-13 09:43:35 +01:00
8ecf1d48b7
Enable Retina graphics for Turtle
2020-02-13 00:32:15 +01:00
e3e27f454d
allow Turtle graphic to use arrow keys
2020-02-02 12:36:52 +01:00
8ddf1e158e
Fixed background and pen coloring on client side (javascript).
...
See: https://github.com/openHPI/codeocean/issues/59
Kudos to waywwaard.
2016-06-14 17:53:54 +02:00
12f52c0cfc
fix canvasevent handling. A \n has to be sent after the actual payload.
2015-12-01 17:43:08 +01:00
c8253a6ba0
Manually merge changes from webpython branch.
2015-09-15 16:55:16 +02:00