forked from openkylin/kylin-code
Fixed webviews are broken on Firefox from upstream 1.68版本
This commit is contained in:
parent
19f153de00
commit
c67bdcdaed
|
@ -0,0 +1,3 @@
|
|||
sass_binary_site=https://npm.taobao.org/mirrors/node-sass/
|
||||
registry=https://registry.npm.taobao.org
|
||||
electron_mirror=https://npm.taobao.org/mirrors/electron/
|
|
@ -0,0 +1,4 @@
|
|||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
||||
# yarn lockfile v1
|
||||
|
||||
|
|
@ -82,7 +82,8 @@ export class DialogMainService implements IDialogMainService {
|
|||
const dialogOptions: OpenDialogOptions = {
|
||||
title: options.title,
|
||||
buttonLabel: options.buttonLabel,
|
||||
filters: options.filters
|
||||
filters: options.filters,
|
||||
defaultPath: options.defaultPath
|
||||
};
|
||||
|
||||
// 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 || !this.isFileKindThemeIcon(icon);
|
||||
return (!!iconUrl || (!!icon && !this.isFileKindThemeIcon(icon)));
|
||||
}
|
||||
|
||||
private shouldShowThemeIcon(hasResource: boolean, icon: ThemeIcon | undefined): icon is ThemeIcon {
|
||||
|
|
|
@ -12,6 +12,8 @@
|
|||
</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