Minor updates to brush

This commit is contained in:
Devine Lu Linvega
2017-11-21 19:46:27 +13:00
parent 63715078d9
commit 4820e2b2b5
2 changed files with 13 additions and 5 deletions

View File

@@ -53,9 +53,15 @@ function Cursor(rune)
// Save original query
ronin.cursor.query = ronin.commander.input_el.value;
if(e.altKey && e.shiftKey){
if(ronin.commander.active_module()){
}
else if(e.altKey && e.shiftKey){
ronin.brush.methods.pick.run(pos);
}
else{
ronin.brush.stroke(ronin.cursor.line);
}
if(e.shiftKey){ ronin.cursor.mode = "rect"; }
if(e.altKey){ ronin.cursor.mode = "arc_to"; }