Closed joedf closed 9 months ago
It looks like canvas image smoothing can only be disabled AFTER a layer has been added to the stage. https://github.com/konvajs/konva/issues/306#issuecomment-351263036
A simple set like this (currently used) before it is added to a stage will NOT work.
var ctx = layer.getContext(); ctx.imageSmoothingEnabled = false; stage.add(layer);
Instead, this will work.
stage.add(layer); var ctx = layer.getContext(); ctx.imageSmoothingEnabled = false;
Task: Fix this by default and add toggle in display options.
It looks like canvas image smoothing can only be disabled AFTER a layer has been added to the stage. https://github.com/konvajs/konva/issues/306#issuecomment-351263036
A simple set like this (currently used) before it is added to a stage will NOT work.
Instead, this will work.
Task: Fix this by default and add toggle in display options.