mirror of
https://github.com/azures04/crafatar.git
synced 2026-05-06 11:00:39 +02:00
nearest looks to pixely
This commit is contained in:
@@ -85,10 +85,6 @@ exp.draw_model = function(uuid, img, scale, helm, body, callback) {
|
|||||||
var skin_canvas = new Canvas(width, height);
|
var skin_canvas = new Canvas(width, height);
|
||||||
var model_ctx = model_canvas.getContext('2d');
|
var model_ctx = model_canvas.getContext('2d');
|
||||||
var skin_ctx = skin_canvas.getContext('2d');
|
var skin_ctx = skin_canvas.getContext('2d');
|
||||||
model_ctx.patternQuality = "nearest";
|
|
||||||
model_ctx.filter = "nearest";
|
|
||||||
skin_ctx.patternQuality = "nearest";
|
|
||||||
skin_ctx.filter = "nearest";
|
|
||||||
|
|
||||||
image.onerror = function(err) {
|
image.onerror = function(err) {
|
||||||
logging.error("render error: " + err);
|
logging.error("render error: " + err);
|
||||||
|
|||||||
Reference in New Issue
Block a user