Fixed shortcuts
This commit is contained in:
parent
8e283e4895
commit
2af73aea99
@ -58,8 +58,8 @@
|
||||
DOTGRID.controller.add("default","Stroke","Arc Rev",() => { DOTGRID.tool.cast("arc_r")},"D"); // 0,0
|
||||
DOTGRID.controller.add("default","Stroke","Bezier",() => { DOTGRID.tool.cast("bezier") },"F");
|
||||
DOTGRID.controller.add("default","Stroke","Close",() => { DOTGRID.tool.cast("close") },"Z");
|
||||
DOTGRID.controller.add("default","Stroke","Arc(full)",() => { DOTGRID.tool.cast("arc_c_full"); },"S+Shift"); // 1,1
|
||||
DOTGRID.controller.add("default","Stroke","Arc Rev(full)",() => { DOTGRID.tool.cast("arc_r_full")},"D+Shift"); // 1,0
|
||||
DOTGRID.controller.add("default","Stroke","Arc(full)",() => { DOTGRID.tool.cast("arc_c_full"); },"T"); // 1,1
|
||||
DOTGRID.controller.add("default","Stroke","Arc Rev(full)",() => { DOTGRID.tool.cast("arc_r_full")},"Y"); // 1,0
|
||||
|
||||
DOTGRID.controller.add("default","Effect","Linecap",() => { DOTGRID.tool.toggle("linecap"); },"Q");
|
||||
DOTGRID.controller.add("default","Effect","Linejoin",() => { DOTGRID.tool.toggle("linejoin"); },"W");
|
||||
|
@ -25,6 +25,8 @@ document.onkeyup = (e) =>
|
||||
if(ch == "a"){ DOTGRID.tool.cast("line"); e.preventDefault(); }
|
||||
if(ch == "s"){ DOTGRID.tool.cast("arc_c"); e.preventDefault(); }
|
||||
if(ch == "d"){ DOTGRID.tool.cast("arc_r"); e.preventDefault(); }
|
||||
if(ch == "t"){ DOTGRID.tool.cast("arc_c_full"); e.preventDefault(); }
|
||||
if(ch == "y"){ DOTGRID.tool.cast("arc_r_full"); e.preventDefault(); }
|
||||
if(ch == "f"){ DOTGRID.tool.cast("bezier"); e.preventDefault(); }
|
||||
if(ch == "z"){ DOTGRID.tool.cast("close"); e.preventDefault(); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user