kopia lustrzana https://github.com/backface/turtlestitch
				
				
				
			
							rodzic
							
								
									15718f44a3
								
							
						
					
					
						commit
						25dfe21d66
					
				
							
								
								
									
										15
									
								
								morphic.js
								
								
								
								
							
							
						
						
									
										15
									
								
								morphic.js
								
								
								
								
							| 
						 | 
				
			
			@ -9509,14 +9509,15 @@ HandMorph.prototype.processMouseMove = function (event) {
 | 
			
		|||
                this.grab(morph);
 | 
			
		||||
                this.grabOrigin = this.morphToGrab.situation();
 | 
			
		||||
            }
 | 
			
		||||
            // if the mouse has left its fullBounds, center it
 | 
			
		||||
            fb = morph.fullBounds();
 | 
			
		||||
            if (!fb.containsPoint(pos)) {
 | 
			
		||||
                this.bounds.origin = fb.center();
 | 
			
		||||
                this.grab(morph);
 | 
			
		||||
                this.setPosition(pos);
 | 
			
		||||
            if (morph) {
 | 
			
		||||
                // if the mouse has left its fullBounds, center it
 | 
			
		||||
                fb = morph.fullBounds();
 | 
			
		||||
                if (!fb.containsPoint(pos)) {
 | 
			
		||||
                    this.bounds.origin = fb.center();
 | 
			
		||||
                    this.grab(morph);
 | 
			
		||||
                    this.setPosition(pos);
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue