Improved this and that
This commit is contained in:
@@ -5,12 +5,7 @@ function Brush()
|
||||
this.speed = 0;
|
||||
|
||||
this.pointers = [
|
||||
new Pointer({offset:{x:0,y:0}}),
|
||||
// new Pointer({offset:{x:2,y:2}}),
|
||||
// new Pointer({offset:{x:-10,y:-10}}),
|
||||
new Pointer({offset:{x:0,y:0},mirror:{x:450,y:0}}),
|
||||
// new Pointer({offset:{x:-10,y:10},mirror:{x:450,y:0}}),
|
||||
// new Pointer({offset:{x:2,y:-2},mirror:{x:450,y:0}}),
|
||||
new Pointer({offset:{x:0,y:0}})
|
||||
];
|
||||
|
||||
this.methods.add = new Method("add","x,y&mirror_x,mirror_y","Add a new pointer to the brush",function(q){
|
||||
|
||||
@@ -46,7 +46,6 @@ function Frame()
|
||||
ronin.frame.zoom.offset.x = ronin.frame.zoom.scale == 1 ? 0 : ((-ronin.cursor.pos.x * ronin.frame.zoom.scale) + (ronin.frame.width/2));
|
||||
ronin.frame.zoom.offset.y = ronin.frame.zoom.scale == 1 ? 0 : ((-ronin.cursor.pos.y * ronin.frame.zoom.scale) + (ronin.frame.height/2));
|
||||
|
||||
console.log(ronin.frame.zoom)
|
||||
ronin.layers.above.zoom(ronin.frame.zoom);
|
||||
ronin.layers.below.zoom(ronin.frame.zoom);
|
||||
ronin.layers.guide.zoom(ronin.frame.zoom);
|
||||
|
||||
Reference in New Issue
Block a user