MCPcopy Create free account
hub / github.com/codrops/3DGridContentPreview / leave

Method leave

src/js/cursor.js:47–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45 this.renderedStyles['scale'].current = 1.5;
46 }
47 leave() {
48 this.renderedStyles['scale'].current = 1;
49 }
50 render() {
51 this.renderedStyles['tx'].current = this.renderedStyles['txText'].current = mouse.x - this.bounds.width/2;
52 this.renderedStyles['ty'].current = this.renderedStyles['tyText'].current = mouse.y - this.bounds.height/2;

Callers 1

index.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected