| 
														
															@@ -231,8 +231,8 @@ class Canvas(QtWidgets.QWidget): 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         for shape in reversed([s for s in self.shapes if self.isVisible(s)]): 
														 | 
														
														 | 
														
															         for shape in reversed([s for s in self.shapes if self.isVisible(s)]): 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             # Look for a nearby vertex to highlight. If that fails, 
														 | 
														
														 | 
														
															             # Look for a nearby vertex to highlight. If that fails, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             # check if we happen to be inside a shape. 
														 | 
														
														 | 
														
															             # check if we happen to be inside a shape. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            index = shape.nearestVertex(pos, self.epsilon) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            index_edge = shape.nearestEdge(pos, self.epsilon) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            index = shape.nearestVertex(pos, self.epsilon / self.scale) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            index_edge = shape.nearestEdge(pos, self.epsilon / self.scale) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             if index is not None: 
														 | 
														
														 | 
														
															             if index is not None: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 if self.selectedVertex(): 
														 | 
														
														 | 
														
															                 if self.selectedVertex(): 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     self.hShape.highlightClear() 
														 | 
														
														 | 
														
															                     self.hShape.highlightClear() 
														 |