kopia lustrzana https://github.com/backface/turtlestitch
formatting tweaks
rodzic
61a68a37ae
commit
ee19e66ea9
|
@ -2585,3 +2585,4 @@ ______
|
||||||
* GUI, Blocks, BYOB: New “Export Project Summary” Feature, also: exporting script pics now includes attached comments
|
* GUI, Blocks, BYOB: New “Export Project Summary” Feature, also: exporting script pics now includes attached comments
|
||||||
* Blocks, Objects, Threads: Key hat block and key sensor support for “any” key
|
* Blocks, Objects, Threads: Key hat block and key sensor support for “any” key
|
||||||
* German translation update
|
* German translation update
|
||||||
|
* Suppress antialiasing when scaling things in the paint editor. Thanks, Kartik!
|
||||||
|
|
17
paint.js
17
paint.js
|
@ -70,7 +70,7 @@
|
||||||
|
|
||||||
// Global stuff ////////////////////////////////////////////////////////
|
// Global stuff ////////////////////////////////////////////////////////
|
||||||
|
|
||||||
modules.paint = '2015-June-25';
|
modules.paint = '2015-October-02';
|
||||||
|
|
||||||
// Declarations
|
// Declarations
|
||||||
|
|
||||||
|
@ -624,12 +624,15 @@ PaintCanvasMorph.prototype.undo = function () {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
PaintCanvasMorph.prototype.disableSmoothing = function(ctx) {
|
PaintCanvasMorph.prototype.disableSmoothing = function (ctx) {
|
||||||
ctx['imageSmoothingEnabled'] = false; /* standard */
|
ctx.imageSmoothingEnabled = false; /* standard */
|
||||||
ctx['mozImageSmoothingEnabled'] = false; /* Firefox */
|
|
||||||
ctx['oImageSmoothingEnabled'] = false; /* Opera */
|
// we oughta keep checking whether the following ones
|
||||||
ctx['webkitImageSmoothingEnabled'] = false; /* Safari */
|
// are still needed
|
||||||
ctx['msImageSmoothingEnabled'] = false; /* IE */
|
ctx.mozImageSmoothingEnabled = false; /* Firefox */
|
||||||
|
ctx.oImageSmoothingEnabled = false; /* Opera */
|
||||||
|
ctx.webkitImageSmoothingEnabled = false; /* Safari */
|
||||||
|
ctx.msImageSmoothingEnabled = false; /* IE */
|
||||||
};
|
};
|
||||||
|
|
||||||
PaintCanvasMorph.prototype.merge = function (a, b) {
|
PaintCanvasMorph.prototype.merge = function (a, b) {
|
||||||
|
|
Ładowanie…
Reference in New Issue