mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +08:00 
			
		
		
		
	Fix balloon view position
This commit is contained in:
		
							parent
							
								
									21cb5c2bb6
								
							
						
					
					
						commit
						ae589a886c
					
				| @ -114,7 +114,9 @@ export function getBalloonPositionData( editor ) { | ||||
| 		return { | ||||
| 			target: view.domConverter.viewToDom( selectedElement ), | ||||
| 			positions: [ | ||||
| 				defaultPositions.southArrowNorth | ||||
| 				defaultPositions.southArrowNorth, | ||||
| 				defaultPositions.southArrowNorthWest, | ||||
| 				defaultPositions.southArrowNorthEast, | ||||
| 			] | ||||
| 		}; | ||||
| 	} | ||||
| @ -123,7 +125,9 @@ export function getBalloonPositionData( editor ) { | ||||
| 		return { | ||||
| 			target: view.domConverter.viewRangeToDom( viewDocument.selection.getFirstRange() ), | ||||
| 			positions: [ | ||||
| 				defaultPositions.southArrowNorth | ||||
| 				defaultPositions.southArrowNorth, | ||||
| 				defaultPositions.southArrowNorthWest, | ||||
| 				defaultPositions.southArrowNorthEast, | ||||
| 			] | ||||
| 		}; | ||||
| 	} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Sauli Anto
						Sauli Anto