Commit 589aa51e authored by Prakhar Agarwal's avatar Prakhar Agarwal 🎯
Browse files

fixed shortcut when creating objs

parent c6831368
......@@ -494,8 +494,9 @@ var canvas_events = (function() {
return false;
},
text_keydown: function(evt) {
console.log("keypressed");
if (pdgui.is_webapp()) { // temporary fix
if (pdgui.cmd_or_ctrl_key(evt) && evt.altKey) {
if (pdgui.cmd_or_ctrl_key(evt)) {
return false;
}
}
......
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