mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	client: Fix zoom interfering with mind map (closes #387)
This commit is contained in:
		
							parent
							
								
									a3a5339048
								
							
						
					
					
						commit
						d7ab99013c
					
				@ -34,6 +34,12 @@ export default class MindMapWidget extends TypeWidget {
 | 
			
		||||
            if (e.key === "F1") {
 | 
			
		||||
                e.stopPropagation();
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            // Zoom controls
 | 
			
		||||
            const isCtrl = e.ctrlKey && !e.altKey && !e.metaKey;
 | 
			
		||||
            if (isCtrl && (e.key == "-" || e.key == "=" || e.key == "0")) {
 | 
			
		||||
                e.stopPropagation();
 | 
			
		||||
            }
 | 
			
		||||
        });
 | 
			
		||||
 | 
			
		||||
        super.doRender();        
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user