forked from openkylin/kylin-code
Revert "Fixed webviews are broken on Firefox from upstream 1.68版本"
This reverts commit c67bdcdaed
.
This commit is contained in:
parent
c67bdcdaed
commit
2f56107185
3
.npmrc
3
.npmrc
|
@ -1,3 +0,0 @@
|
|||
sass_binary_site=https://npm.taobao.org/mirrors/node-sass/
|
||||
registry=https://registry.npm.taobao.org
|
||||
electron_mirror=https://npm.taobao.org/mirrors/electron/
|
|
@ -1,4 +0,0 @@
|
|||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
||||
# yarn lockfile v1
|
||||
|
||||
|
|
@ -82,8 +82,7 @@ export class DialogMainService implements IDialogMainService {
|
|||
const dialogOptions: OpenDialogOptions = {
|
||||
title: options.title,
|
||||
buttonLabel: options.buttonLabel,
|
||||
filters: options.filters,
|
||||
defaultPath: options.defaultPath
|
||||
filters: options.filters
|
||||
};
|
||||
|
||||
// Ensure properties
|
||||
|
|
|
@ -1084,7 +1084,7 @@ class TreeRenderer extends Disposable implements ITreeRenderer<ITreeItem, FuzzyS
|
|||
private shouldHideResourceLabelIcon(iconUrl: URI | undefined, icon: ThemeIcon | undefined): boolean {
|
||||
// We always hide the resource label in favor of the iconUrl when it's provided.
|
||||
// When `ThemeIcon` is provided, we hide the resource label icon in favor of it only if it's a not a file icon.
|
||||
return (!!iconUrl || (!!icon && !this.isFileKindThemeIcon(icon)));
|
||||
return !!iconUrl || !this.isFileKindThemeIcon(icon);
|
||||
}
|
||||
|
||||
private shouldShowThemeIcon(hasResource: boolean, icon: ThemeIcon | undefined): icon is ThemeIcon {
|
||||
|
|
|
@ -12,8 +12,6 @@
|
|||
</head>
|
||||
|
||||
<body style="margin: 0; overflow: hidden; width: 100%; height: 100%" role="document">
|
||||
<!-- TODO: Remove additional script tag once Firefox is fixed https://bugzilla.mozilla.org/show_bug.cgi?id=1737882 -->
|
||||
<script></script>
|
||||
<script async type="module">
|
||||
// @ts-check
|
||||
/// <reference lib="dom" />
|
||||
|
|
Loading…
Reference in New Issue