mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 21:11:30 +08:00 
			
		
		
		
	chore(touchbar): address self-review
This commit is contained in:
		
							parent
							
								
									de99759d08
								
							
						
					
					
						commit
						83e7e82252
					
				| @ -24,7 +24,7 @@ import type NoteTreeWidget from "../widgets/note_tree.js"; | ||||
| import type { default as NoteContext, GetTextEditorCallback } from "./note_context.js"; | ||||
| import type TypeWidget from "../widgets/type_widgets/type_widget.js"; | ||||
| import type EditableTextTypeWidget from "../widgets/type_widgets/editable_text.js"; | ||||
| import type { NativeImage } from "electron"; | ||||
| import type { NativeImage, TouchBar } from "electron"; | ||||
| 
 | ||||
| interface Layout { | ||||
|     getRootWidget: (appContext: AppContext) => RootWidget; | ||||
| @ -270,7 +270,7 @@ export type CommandMappings = { | ||||
|     geoMapCreateChildNote: CommandData; | ||||
| 
 | ||||
|     buildTouchBar: CommandData & { | ||||
|         TouchBar: typeof import("electron").TouchBar; | ||||
|         TouchBar: typeof TouchBar; | ||||
|         buildIcon(name: string): NativeImage; | ||||
|     }; | ||||
|     refreshTouchBar: CommandData; | ||||
|  | ||||
| @ -1,4 +1,3 @@ | ||||
| import { app } from "electron"; | ||||
| import type { CommandListenerData, EventData } from "../../components/app_context.js"; | ||||
| import type FNote from "../../entities/fnote.js"; | ||||
| import { t } from "../../services/i18n.js"; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran