Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

💻 Show turtle with ask modal #5413

Merged
merged 6 commits into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion static/js/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1198,7 +1198,6 @@ export function runPythonProgram(this: any, code: string, sourceMap: any, hasTur
var debug = storage.getItem("debugLine")
if (storage.getItem("prompt-" + prompt) == null) {
Sk.execStart = new Date(new Date().getTime() + 1000 * 60 * 60 * 24 * 365);
$('#turtlecanvas').hide();
document.onkeydown = null;
$('#keybinding-modal').hide();

Expand Down
1 change: 0 additions & 1 deletion static/js/appbundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -99613,7 +99613,6 @@ def note_with_error(value, err):
var debug = storage.getItem("debugLine");
if (storage.getItem("prompt-" + prompt) == null) {
Sk.execStart = new Date(new Date().getTime() + 1e3 * 60 * 60 * 24 * 365);
$("#turtlecanvas").hide();
document.onkeydown = null;
$("#keybinding-modal").hide();
return new Promise(function(ok) {
Expand Down
4 changes: 2 additions & 2 deletions static/js/appbundle.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion templates/incl/editor-and-output.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
<div id="output" tabindex=0 class="flex-1 rounded p-2 px-3 bg-gray-900 color-white w-full text-lg overflow-auto" style="min-height: 3rem;"></div>

<div id="turtlecanvas" class="flex-0 ltr:pl-4 rtl:pr-4"></div>
<div id="inline-modal" class="flex-0">
<div id="inline-modal" class="flex-0 absolute bottom-0 w-full z-20">
<div id="ask-modal" class="py-2 text-left px-3 border-4 border-teal-500 mt-3 rounded bg-green-100" style="display: none">
<!--Title-->
<div class="flex justify-between items-center">
Expand Down
Loading