@@ -239,13 +239,14 @@ Index: code-server/lib/vscode/src/vs/workbench/services/dialogs/browser/simpleFi
239239 @IRemoteAgentService private readonly remoteAgentService: IRemoteAgentService,
240240 @IPathService protected readonly pathService: IPathService,
241241 @IKeybindingService private readonly keybindingService: IKeybindingService,
242- @@ -311,20 +311,22 @@ export class SimpleFileDialog extends Di
242+ @@ -311,21 +311,23 @@ export class SimpleFileDialog extends Di
243243 this.filePickBox.placeholder = nls.localize('remoteFileDialog.placeholder', "Folder path");
244244 this.filePickBox.ok = true;
245245 this.filePickBox.okLabel = typeof this.options.openLabel === 'string' ? this.options.openLabel : this.options.openLabel?.withoutMnemonic;
246246- if ((this.scheme !== Schemas.file) && this.options && this.options.availableFileSystems && (this.options.availableFileSystems.length > 1) && (this.options.availableFileSystems.indexOf(Schemas.file) > -1)) {
247247- this.filePickBox.customButton = true;
248248- this.filePickBox.customLabel = nls.localize('remoteFileDialog.local', 'Show Local');
249+ - this.filePickBox.customButtonSecondary = true;
249250- let action;
250251- if (isSave) {
251252- action = SaveLocalFileCommand;
@@ -261,6 +262,7 @@ Index: code-server/lib/vscode/src/vs/workbench/services/dialogs/browser/simpleFi
261262+ if ((this.scheme !== Schemas.file) && this.options && this.options.availableFileSystems && (this.options.availableFileSystems.length > 1) && (this.options.availableFileSystems.indexOf(Schemas.file) > -1)) {
262263+ this.filePickBox.customButton = true;
263264+ this.filePickBox.customLabel = nls.localize('remoteFileDialog.local', 'Show Local');
265+ + this.filePickBox.customButtonSecondary = true;
264266+ let action;
265267+ if (isSave) {
266268+ action = SaveLocalFileCommand;
@@ -288,7 +290,7 @@ Index: code-server/lib/vscode/src/vs/workbench/contrib/files/browser/views/explo
288290 import { WorkbenchCompressibleAsyncDataTree } from '../../../../../platform/list/browser/listService.js';
289291 import { ISearchService, QueryType, getExcludes, ISearchConfiguration, ISearchComplete, IFileQuery } from '../../../../services/search/common/search.js';
290292 import { CancellationToken } from '../../../../../base/common/cancellation.js';
291- @@ -1594 ,7 +1595 ,8 @@ export class FileDragAndDrop implements
293+ @@ -1597 ,7 +1598 ,8 @@ export class FileDragAndDrop implements
292294 @IConfigurationService private configurationService: IConfigurationService,
293295 @IInstantiationService private instantiationService: IInstantiationService,
294296 @IWorkspaceEditingService private workspaceEditingService: IWorkspaceEditingService,
@@ -298,7 +300,7 @@ Index: code-server/lib/vscode/src/vs/workbench/contrib/files/browser/views/explo
298300 ) {
299301 const updateDropEnablement = (e: IConfigurationChangeEvent | undefined) => {
300302 if (!e || e.affectsConfiguration('explorer.enableDragAndDrop')) {
301- @@ -1819 ,15 +1821 ,17 @@ export class FileDragAndDrop implements
303+ @@ -1822 ,15 +1824 ,17 @@ export class FileDragAndDrop implements
302304
303305 // External file DND (Import/Upload file)
304306 if (data instanceof NativeDragAndDropData) {
0 commit comments