Commit 14c82955 authored by Aayush's avatar Aayush

suggested changes done in parser and ascii_art UI

parent 6b121e84
Pipeline #1572 failed with stage
in 0 seconds
......@@ -73,8 +73,7 @@
"mknob_steps": "# of steps",
"mknob_steps_tt": "number of dial positions for the knob",
"mknob_size": "size",
"mknob_size_tt": "size of the knob",
"submit_tt": "submit ascii_art to parser"
"mknob_size_tt": "size of the knob"
}
},
"gatom": {
......@@ -279,6 +278,10 @@
},
"canvas": {
"paste_clipboard_prompt": "Warnung: Sie sind dabei, Pd-Code einzufügen, der außerhalb von Pd erstellt wurde. Möchten Sie fortfahren?",
"ascii_art": {
"submit": "Submit Button",
"submit_tt": "submit ascii_art to parser"
},
"save_dialog": {
"prompt": "Speichern der Änderungen in",
"yes": "Ja",
......
......@@ -72,8 +72,7 @@
"mknob_steps": "# of steps",
"mknob_steps_tt": "number of dial positions for the knob",
"mknob_size": "size",
"mknob_size_tt": "size of the knob",
"submit_tt": "submit ascii_art to parser"
"mknob_size_tt": "size of the knob"
}
},
"gatom": {
......@@ -278,6 +277,10 @@
},
"canvas": {
"paste_clipboard_prompt": "Warning: you are about to paste Pd code that came from somewhere outside of Pd. Do you want to continue?",
"ascii_art": {
"submit": "Submit Button",
"submit_tt": "submit ascii_art to parser"
},
"save_dialog": {
"prompt": "Do you want to save the changes you made in",
"yes": "Yes",
......
This diff is collapsed.
......@@ -431,8 +431,8 @@ var canvas_events = (function() {
var art = document.getElementById("ascii_art_text_area").value;
var parsed_art = pd_ascii_art.parse_ascii_art(art);
// to check the create pd_message
document.getElementById("ascii_art_text_area").innerHTML = parsed_art.pd_message;
canvas_events[canvas_events.get_previous_state()]();
document.getElementById("ascii_art_text_area").innerHTML = parsed_art.pd_message;
canvas_events[canvas_events.get_previous_state()]();
},
scalar_draggable_mousemove: function(evt) {
var new_x = evt.pageX,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment