Skip to content

Commit ce67975

Browse files
committed
fixed scale when grabbing uncached image morphs
1 parent 207613b commit ce67975

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

morphic.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1306,7 +1306,7 @@
13061306

13071307
/*jshint esversion: 11, bitwise: false*/
13081308

1309-
var morphicVersion = '2023-January-31';
1309+
var morphicVersion = '2023-March-16';
13101310
var modules = {}; // keep track of additional loaded modules
13111311
var useBlurredShadows = true;
13121312

@@ -11381,12 +11381,12 @@ HandMorph.prototype.grab = function (aMorph) {
1138111381
if (!aMorph.noDropShadow) {
1138211382
aMorph.addShadow();
1138311383
}
11384-
this.add(aMorph);
1138511384

1138611385
// cache the dragged object's display resources
1138711386
this.cachedFullImage = aMorph.fullImage();
1138811387
this.cachedFullBounds = aMorph.fullBounds();
1138911388

11389+
this.add(aMorph);
1139011390
this.changed();
1139111391
if (oldParent && oldParent.reactToGrabOf) {
1139211392
oldParent.reactToGrabOf(aMorph);

0 commit comments

Comments
 (0)