mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
nearest looks to pixely
This commit is contained in:
parent
0c90f0aff0
commit
4358f9e2ca
@ -85,10 +85,6 @@ exp.draw_model = function(uuid, img, scale, helm, body, callback) {
|
||||
var skin_canvas = new Canvas(width, height);
|
||||
var model_ctx = model_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) {
|
||||
logging.error("render error: " + err);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user