Lively Kernel canvas
//
DraftingLivelyKernelChanges...40
10000.029298211556635347Wikicontroltrue
10006.372306649267909Wikicontroltrue
createLayer("MenuDraftLayer");enableLayer(MenuDraftLayer);disableLayer(MenuDraftLayer);layerClass(MenuDraftLayer,Morph,{showMorphMenu:function(proceed,evt){varmenu=this.morphMenu(evt);menu.openIn(this.world(),evt.point(),false,Object.inspect(this).truncate());varoffsetY=menu.bounds().bottom()-document.body.clientHeight;console.log("offsety:"+offsetY)},});HandMorph.addMethods({makeAMove:function(){//ProcessanullmouseMoveevent--nochangeinx,y//Allowssimulationstorespondwhere,eg,amorphmovesunderthemouse//Note:FabrikgeneratesalsoMouseeventswithnewFakeMouseEvent;tobemergedvarlast=this.lastMouseEvent;if(!last)return;varnullMove=newEvent(last.rawEvent);nullMove.type="MouseMove";nullMove.hand=this;//console.log("last="+Object.inspect(this.lastMouseEvent));//console.log("null="+Object.inspect(nullMove));this.reallyHandleMouseEvent(nullMove);this.lastMouseEvent=last;//Restore--necess??},})38truetruefalsetruetruefalse
false1truefalsetruetruefalse
nullfalsetruenullfalse
falsenullfalse
false
false
falsenullfalsefalsenullnullnullnullfalse
last=#<Event:MouseMove@pt(13.0,254.0)>"]]>falsetruefalse0
last=#<Event:MouseMove@pt(13.0,254.0)>"]]>falsetruefalse0
last=#<Event:MouseMove@pt(13.0,254.0)>"]]>falsetruefalse0
last=#<Event:MouseMove@pt(13.0,254.0)>"]]>falsetruefalse0
last=#<Event:MouseMove@pt(13.0,254.0)>"]]>falsetruefalse0
last=#<Event:MouseMove@pt(13.0,254.0)>"]]>falsetruefalse0
last=#<Event:MouseMove@pt(13.0,254.0)>"]]>falsetruefalse0
last=#<Event:MouseMove@pt(13.0,254.0)>"]]>falsetruefalse0
last=#<Event:MouseMove@pt(13.0,254.0)>"]]>falsetruefalse0
last=#<Event:MouseMove@pt(13.0,254.0)>"]]>falsetruefalse0
last=#<Event:MouseMove@pt(13.0,254.0)>"]]>falsetruefalse0
last=#<Event:MouseMove@pt(13.0,254.0)>"]]>falsetruefalse0
last=#<Event:MouseMove@pt(485.0,148.0)>"]]>falsetruefalse0
last=#<Event:MouseMove@pt(400.0,168.0)>"]]>falsetruefalse0
last=#<Event:MouseMove@pt(399.0,168.0)>"]]>falsetruefalse0
last=#<Event:MouseMove@pt(1016.0,591.0)>"]]>falsetruefalse0
last=#<Event:MouseMove@pt(1020.0,700.0)>"]]>falsetruefalse0
last=#<Event:MouseMove@pt(1086.0,880.0)>"]]>falsetruefalse0
last=#<Event:MouseMove@pt(1099.0,885.0)>"]]>falsetruefalse0
last=#<Event:MouseMove@pt(1100.0,877.0)>"]]>falsetruefalse0
last=#<Event:MouseMove@pt(804.0,666.0)>"]]>falsetruefalse0
last=#<Event:MouseMove@pt(386.0,619.0)>"]]>falsetruefalse0
last=#<Event:MouseMove@pt(560.0,470.0)>"]]>falsetruefalse0
last=#<Event:MouseMove@pt(665.0,360.0)>"]]>falsetruefalse0
last=#<Event:MouseMove@pt(928.0,266.0)>"]]>falsetruefalse0
last=#<Event:MouseMove@pt(517.0,599.0)>"]]>falsetruefalse0
last=#<Event:MouseMove@pt(345.0,617.0)>"]]>falsetruefalse0
last=#<Event:MouseMove@pt(52.0,630.0)>"]]>falsetruefalse0
last=#<Event:MouseMove@pt(66.0,640.0)>"]]>falsetruefalse0
last=#<Event:MouseMove@pt(72.0,643.0)>"]]>falsetruefalse0
last=#<Event:MouseMove@pt(71.0,640.0)>"]]>falsetruefalse0
last=#<Event:MouseMove@pt(71.0,640.0)>"]]>falsetruefalse0
LayerMenuDraftLayerisalreadytherefalsetruefalse0
-------------------------------------------falsetruefalse0
invoke1:WorldMorph([0,0,2000,1200])falsetruefalse0
fitWidthfailureonTextMorph.getCharBoundsfalsetruefalse0
fitWidthfailureonTextMorph.getCharBoundsfalsetruefalse0
morphmenu:falsetruefalse0
-------------------------------------------falsetruefalse0
invoke1:WorldMorph([0,0,1000,600])falsetruefalse0
-------------------------------------------falsetruefalse0
invoke1:WorldMorph([0,0,1000,600])falsetruefalse0
fitWidthfailureonTextMorph.getCharBoundsfalsetruefalse0
fitWidthfailureonTextMorph.getCharBoundsfalsetruefalse0
-------------------------------------------falsetruefalse0
invoke115231:ExternalLinkMorph([-25,-25,50,50])falsetruefalse0
-------------------------------------------falsetruefalse0
invoke1:WorldMorph([0,0,2000,1200])falsetruefalse0
status200onGEThttp://lively-kernel.org/repository/webwerkstatt/DraftMenu.xhtmlfalsetruefalse0
extendForSerializationundefinedfalsetruefalse01098-1nulltrue0falsetruetruefalse
false1truefalse
nullfalse
nullfalse
nullfalse
nullfalsefalsetruetruefalse
truetrue100false
truefalsenull050
nullfalsetruenullfalse
Consolefalsenullfalse
false
false
falsenullfalsefalsenullnullnullnullfalsenull54