kopia lustrzana https://github.com/backface/turtlestitch
Morphic: focus World canvas on mouse down (otherwise prevent default)
rodzic
a2094b033e
commit
a7ebff7c5b
|
@ -1731,3 +1731,5 @@ ______
|
|||
130606
|
||||
------
|
||||
* BYOB: Newly created custom reporters now have an initial default REPORT block as definition body
|
||||
|
||||
* Morphic: focus World canvas on mouse down (otherwise prevent default)
|
||||
|
|
|
@ -1035,7 +1035,7 @@
|
|||
/*global window, HTMLCanvasElement, getMinimumFontHeight, FileReader, Audio,
|
||||
FileList, getBlurredShadowSupport*/
|
||||
|
||||
var morphicVersion = '2013-June-04';
|
||||
var morphicVersion = '2013-June-06';
|
||||
var modules = {}; // keep track of additional loaded modules
|
||||
var useBlurredShadows = getBlurredShadowSupport(); // check for Chrome-bug
|
||||
|
||||
|
@ -10111,6 +10111,7 @@ WorldMorph.prototype.initEventListeners = function () {
|
|||
"mousedown",
|
||||
function (event) {
|
||||
event.preventDefault();
|
||||
canvas.focus();
|
||||
myself.hand.processMouseDown(event);
|
||||
},
|
||||
false
|
||||
|
|
Ładowanie…
Reference in New Issue