mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-04 15:25:47 +01:00
Replace all instances off "Focussed" with "Focused" except ContextKey (#32904)
* Replace focussed with focused * Replace Focussed with Focused
This commit is contained in:
committed by
Benjamin Pasero
parent
ad0bd9b777
commit
f3bf53f6b8
@@ -112,9 +112,9 @@ function hasCodeSettings(folder: string, normalizedUserHome?: string, codeSettin
|
||||
}
|
||||
|
||||
export function getLastActiveWindow<W extends ISimpleWindow>(windows: W[]): W {
|
||||
const lastFocussedDate = Math.max.apply(Math, windows.map(window => window.lastFocusTime));
|
||||
const lastFocusedDate = Math.max.apply(Math, windows.map(window => window.lastFocusTime));
|
||||
|
||||
return windows.filter(window => window.lastFocusTime === lastFocussedDate)[0];
|
||||
return windows.filter(window => window.lastFocusTime === lastFocusedDate)[0];
|
||||
}
|
||||
|
||||
export function findWindowOnWorkspace<W extends ISimpleWindow>(windows: W[], workspace: (IWorkspaceIdentifier | ISingleFolderWorkspaceIdentifier)): W {
|
||||
|
||||
Reference in New Issue
Block a user