Some minor progress on the brush
This commit is contained in:
@@ -24,6 +24,7 @@ function Commander()
|
||||
var setting_value = q.settings[setting_id];
|
||||
if(!ronin.modules[q.module].settings[setting_id]){ console.log("Missing setting",setting_id); return; }
|
||||
ronin.modules[q.module].settings[setting_id] = setting_value;
|
||||
console.log(ronin.modules[q.module]);
|
||||
}
|
||||
|
||||
ronin.modules[q.module].routes = q.routes;
|
||||
|
||||
@@ -28,7 +28,7 @@ function Layer()
|
||||
this.el.style.height = size.height+"px";
|
||||
}
|
||||
|
||||
this.select = function(x = 0,y = 0,width = ronin.frame.settings.width,height = ronin.frame.settings.width)
|
||||
this.select = function(x = 0,y = 0,width = ronin.frame.width,height = ronin.frame.width)
|
||||
{
|
||||
return this.context().getImageData(x, y, width * 2, height * 2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user