MCPcopy Index your code
hub / github.com/NikLever/ThreeJS-PathEditor / isValueCtrlActive

Method isValueCtrlActive

graph.js:326–330  ·  view source on GitHub ↗
( type )

Source from the content-addressed store, hash-verified

324 }
325
326 isValueCtrlActive( type ){
327 if (this.activeCtrl == null ) return false;
328 if (this.activeCtrl.node == null ) return false;
329 return this.activeCtrl.type == type;
330 }
331
332 snapToGrid( pt ){
333 pt.x = Math.round(pt.x * 10) / 10;

Callers 1

drawNodeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected