( type )
| 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; |