Multi strokes
This commit is contained in:
@@ -117,8 +117,8 @@ function Cursor(rune)
|
||||
this.element.style.width = radius;
|
||||
this.element.style.height = radius;
|
||||
this.element.style.borderRadius = radius;
|
||||
this.element.style.marginLeft = -radius/2;
|
||||
this.element.style.marginTop = -radius/2;
|
||||
this.element.style.marginLeft = -(radius/2)-1;
|
||||
this.element.style.marginTop = -(radius/2)-1;
|
||||
this.element.style.borderColor = this.mode && this.mode.color ? this.mode.color.hex : "#ff0000";
|
||||
}
|
||||
|
||||
|
@@ -42,7 +42,10 @@ function Vector(rune)
|
||||
|
||||
this.widget_cursor = function()
|
||||
{
|
||||
if(keyboard.shift_held == true){
|
||||
if(keyboard.shift_held == true && keyboard.alt_held == true){
|
||||
return "Vector(Origin)";
|
||||
}
|
||||
else if(keyboard.shift_held == true){
|
||||
return "Vector(Counterclock Arc)";
|
||||
}
|
||||
else if(keyboard.alt_held == true){
|
||||
@@ -86,7 +89,10 @@ function Vector(rune)
|
||||
this.click = null;
|
||||
|
||||
// Add the right thing
|
||||
if(keyboard.shift_held == true){
|
||||
if(keyboard.shift_held == true && keyboard.alt_held == true){
|
||||
this.coordinates.push("M"+position.render());
|
||||
}
|
||||
else if(keyboard.shift_held == true){
|
||||
this.coordinates.push("A1,1 0 0,1 "+position.render());
|
||||
}
|
||||
else if(keyboard.alt_held == true){
|
||||
|
Reference in New Issue
Block a user