diff --git a/gui.js b/gui.js index 434bdb98..5d9441f9 100644 --- a/gui.js +++ b/gui.js @@ -75,7 +75,7 @@ isRetinaSupported, SliderMorph, Animation, BoxMorph, MediaRecorder*/ // Global stuff //////////////////////////////////////////////////////// -modules.gui = '2018-February-05'; +modules.gui = '2018-February-06'; // Declarations @@ -3443,7 +3443,7 @@ IDE_Morph.prototype.aboutSnap = function () { module, btn1, btn2, btn3, btn4, licenseBtn, translatorsBtn, world = this.world(); - aboutTxt = 'Snap! 4.1.1\nBuild Your Own Blocks\n\n' + aboutTxt = 'Snap! 4.1.2 - dev -\nBuild Your Own Blocks\n\n' + 'Copyright \u24B8 2018 Jens M\u00F6nig and ' + 'Brian Harvey\n' + 'jens@moenig.org, bh@cs.berkeley.edu\n\n' diff --git a/history.txt b/history.txt index 5f9fdce7..15ce0fd3 100755 --- a/history.txt +++ b/history.txt @@ -3810,8 +3810,6 @@ Fixes: === v4.1.0.5 maintenance release === -*** in development *** - 171201 ------ * GUI: started development on v 4.1.1 @@ -3891,7 +3889,6 @@ Fixes: * Russian translation update, thanks, temap! * release - === v4.1.1 minor release === v4.1.1 New Features: @@ -3922,7 +3919,6 @@ Notable Fixes: * when deleting a temporary clone, detach all its parts and delete the temporary ones * new release protocol to avoid browser caching related version conflicts - Translation Updates: * German * Greek @@ -3930,3 +3926,21 @@ Translation Updates: * Chinese * Spanish * Russian + +*** in development *** + +180206 +------ +* GUI: start developing v4.1.2 +* Morphic: roll back temporary rectangle filling workaround for a bug in Chrome v57 + + +=== v4.1.2 features === + +v4.1.2 New Features: + +Notable Changes: + +Notable Fixes: + +Translation Updates: diff --git a/morphic.js b/morphic.js index 2ba0214f..ab08a974 100644 --- a/morphic.js +++ b/morphic.js @@ -1163,7 +1163,7 @@ /*global window, HTMLCanvasElement, FileReader, Audio, FileList*/ -var morphicVersion = '2018-January-25'; +var morphicVersion = '2018-February-06'; var modules = {}; // keep track of additional loaded modules var useBlurredShadows = getBlurredShadowSupport(); // check for Chrome-bug @@ -3251,31 +3251,7 @@ Morph.prototype.drawNew = function () { this.image = newCanvas(this.extent()); var context = this.image.getContext('2d'); context.fillStyle = this.color.toString(); - - /* - Chrome issue: - - when filling a rectangular area, versions of Chrome beginning with - 57.0.2987.133 start introducing vertical transparent stripes - to the right of the rectangle. - The following code replaces the original fillRect() call with - an explicit almost-rectangular path that miraculously makes - sure the whole rectangle gets filled correctly. - - Important: This needs to be monitored in the future so we can - revert to sane code once this Chrome issue has been resolved again. - */ - - // context.fillRect(0, 0, this.width(), this.height()); // taken out - - context.beginPath(); - context.moveTo(0, 0); - context.lineTo(this.image.width, 0); - context.lineTo(this.image.width, this.image.height); - context.lineTo(0, this.image.height + 0.0001); // yeah, I luv Chrome! - context.closePath(); - context.fill(); - + context.fillRect(0, 0, this.width(), this.height()); if (this.cachedTexture) { this.drawCachedTexture(); } else if (this.texture) {