{"id":0,"registry":{"0":{"submorphs":[],"scripts":[],"id":"3CC31968-347C-4759-B621-D604E0D93D01","shape":{"__isSmartRef__":true,"id":1},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"__serializedExpressions__":["_Position","distanceToDragEvent"],"showsHalos":false,"name":"Marker","partsBinMetaInfo":{"__isSmartRef__":true,"id":2},"eventHandler":{"__isSmartRef__":true,"id":5},"derivationIds":[2933],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"isMarker":true,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)","distanceToDragEvent":"lively.pt(116.0,-14.0)"},"1":{"__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"_BorderWidth":3.664,"_Fill":null,"_BorderRadius":0,"_BorderStyle":"dashed","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(170.0,160.0)","_BorderColor":"Color.rgb(255,143,0)","_Padding":"lively.rect(0,0,0,0)"},"2":{"partsSpaceName":"PartsBin/Basic/","comment":"A rectangular shaped marker morph, that allows for clicking through","migrationLevel":8,"partName":"Marker","__serializedExpressions__":["lastModifiedDate"],"changes":[{"__isSmartRef__":true,"id":3},{"__isSmartRef__":true,"id":4}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Tue Oct 29 2013 16:12:13 GMT-0700 (PDT)\")"},"3":{"__serializedExpressions__":["date"],"author":"robertkrahn","message":"- Added isMarker flag\n- resize to fit world menu item","id":"4E4864F0-9FBE-4259-8535-67DDD7D491C6","date":"new Date(\"Tue Oct 29 2013 16:12:13 GMT-0700 (PDT)\")"},"4":{"__serializedExpressions__":["date"],"author":"robertkrahn","message":"- Added isMarker flag\n- resize to fit world menu item","id":"8B30BA17-FC14-4196-8C17-7C2AC660158C","date":"new Date(\"Tue Oct 29 2013 16:12:26 GMT-0700 (PDT)\")"},"5":{"morph":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6},"__LivelyClassName__":"lively.morphic.RelayEventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6":{"relayFunc":{"__isSmartRef__":true,"id":7}},"7":{"varMapping":{"__isSmartRef__":true,"id":8},"source":"function relayToMorphBeneath(evt, target) {\n                if (evt.isCommandKey()) return false;\n                var morphBeneath = target.morphBeneath(evt.getPosition());\n                morphBeneath && morphBeneath.triggerEvent(evt);\n                return true;\n            }","funcProperties":{"__isSmartRef__":true,"id":9},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8":{},"9":{},"10":{"reset":{"__isSmartRef__":true,"id":11},"morphMenuItems":{"__isSmartRef__":true,"id":14}},"11":{"varMapping":{"__isSmartRef__":true,"id":12},"source":"function reset() {\n    this.setExtent(lively.pt(170,160));\n    this.isMarker = true;\n}","funcProperties":{"__isSmartRef__":true,"id":13},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12":{"this":{"__isSmartRef__":true,"id":0}},"13":{"__serializedExpressions__":["timestamp"],"user":"robertkrahn","tags":[],"timestamp":"new Date(\"Tue Oct 29 2013 16:08:11 GMT-0700 (PDT)\")"},"14":{"varMapping":{"__isSmartRef__":true,"id":15},"source":"function morphMenuItems() {\n    var items = $super(), self = this;\n    return items.concat([['Resize to fit world', function() {\n        self.setBounds(self.world().world().visibleBounds().insetBy(10));\n    }]]);\n}","funcProperties":{"__isSmartRef__":true,"id":20},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15":{"this":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16}},"16":{"$super":{"__isSmartRef__":true,"id":17}},"17":{"varMapping":{"__isSmartRef__":true,"id":18},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":19},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"18":{"obj":{"__isSmartRef__":true,"id":0},"name":"morphMenuItems"},"19":{},"20":{"__serializedExpressions__":["timestamp"],"user":"robertkrahn","tags":[],"timestamp":"new Date(\"Tue Oct 29 2013 16:11:30 GMT-0700 (PDT)\")"},"isSimplifiedRegistry":true}}