From 0ada8918663eb864d0f0cc18af11e96dee5dfdb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jens=20M=C3=B6nig?= Date: Wed, 20 Jul 2016 10:14:00 +0200 Subject: [PATCH] fixed #1333 - paint new costume not working in retina mode in FF and Edge --- gui.js | 6 +++--- history.txt | 7 ++++++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gui.js b/gui.js index 1fb86279..e45d3b11 100644 --- a/gui.js +++ b/gui.js @@ -72,7 +72,7 @@ isRetinaSupported*/ // Global stuff //////////////////////////////////////////////////////// -modules.gui = '2016-July-19'; +modules.gui = '2016-July-20'; // Declarations @@ -2982,7 +2982,7 @@ IDE_Morph.prototype.aboutSnap = function () { module, btn1, btn2, btn3, btn4, licenseBtn, translatorsBtn, world = this.world(); - aboutTxt = 'Snap! 4.0.8.3\nBuild Your Own Blocks\n\n' + aboutTxt = 'Snap! 4.0.8.4\nBuild Your Own Blocks\n\n' + 'Copyright \u24B8 2016 Jens M\u00F6nig and ' + 'Brian Harvey\n' + 'jens@moenig.org, bh@cs.berkeley.edu\n\n' @@ -6923,7 +6923,7 @@ WardrobeMorph.prototype.removeCostumeAt = function (idx) { WardrobeMorph.prototype.paintNew = function () { var cos = new Costume( - newCanvas(), + newCanvas(null, true), this.sprite.newCostumeName(localize('Untitled')) ), ide = this.parentThatIsA(IDE_Morph), diff --git a/history.txt b/history.txt index 58b49301..b424ce68 100755 --- a/history.txt +++ b/history.txt @@ -2971,7 +2971,6 @@ http://snap.berkeley.edu/run#cloud:Username=jens&ProjectName=rotation == v4.0.8.2 ==== - 160719 ------ * Morphic: avoid blitting artifacts for non-integer devicePixelRatios in Firefox @@ -2981,3 +2980,9 @@ http://snap.berkeley.edu/run#cloud:Username=jens&ProjectName=rotation == v4.0.8.3 ==== +160720 +------ +* GUI: fixed #1333 - paint a new costume not working in retina mode in FF and Edge + +== v4.0.8.4 ==== +