Sebastian Serth
3d5f55f8ed
Only apply Turtle update if canvas is present
...
Fixes CODEOCEAN-FRONTEND-4T
2023-11-17 14:59:49 +01:00
Sebastian Serth
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
Sebastian Serth
025fa355d2
Improve loop for Turtle#update
2023-03-03 14:09:46 +01:00
Sebastian Serth
82cab390ad
Remove outdated run method from turtle.js
2021-11-01 17:12:57 +01:00
Sebastian Serth
b78c535671
Prevent access to undefined turtle element
2021-01-25 11:27:00 +01:00
Sebastian Serth
664dadf404
Check for coords before using it
2020-11-11 17:35:06 +01:00
Sebastian Serth
24c0a8ce50
Convert unsafe comparison to safe variant in turtle.js
2020-11-11 17:25:20 +01:00
Sebastian Serth
c93e47277a
Refactor key binding for turtle and forward key presses if websocket connection is closed.
2020-10-29 13:48:13 +01:00
Sebastian Serth
c19f8b9abe
Add spiek for line width support in turtle
2020-10-28 23:50:13 +01:00
Sebastian Serth
24b9148a42
Always use latest websocket connection for Turtle events
2020-03-07 23:24:33 +01:00
Sebastian Serth
3fa52ab2b6
Move clicks for Turtle to our grid
2020-02-13 16:17:39 +01:00
Sebastian Serth
2d07afa109
Fix canvas size for reruns. Again.
2020-02-13 09:52:14 +01:00
Sebastian Serth
8c1fd66b92
Fix canvas size for reruns.
2020-02-13 09:43:35 +01:00
Sebastian Serth
8ecf1d48b7
Enable Retina graphics for Turtle
2020-02-13 00:32:15 +01:00
Sebastian Serth
e3e27f454d
allow Turtle graphic to use arrow keys
2020-02-02 12:36:52 +01:00
Ralf Teusner
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
Ralf Teusner
12f52c0cfc
fix canvasevent handling. A \n has to be sent after the actual payload.
2015-12-01 17:43:08 +01:00
Janusch Jacoby
c8253a6ba0
Manually merge changes from webpython branch.
2015-09-15 16:55:16 +02:00