diff options
author | David Čuček | 2022-10-07 02:12:05 +0200 |
---|---|---|
committer | David Čuček | 2022-10-07 02:12:05 +0200 |
commit | 206f5ab07fba0a410b13d57eeef6f3b5d0f2ba59 (patch) | |
tree | 3fb7c27e999c3bfd5e7dd0d26d4c8135093d7f82 /translucent.patch | |
parent | e8e544d551b242f46605db358e288d9f75559894 (diff) | |
download | aur-206f5ab07fba0a410b13d57eeef6f3b5d0f2ba59.tar.gz |
1.72.0
Diffstat (limited to 'translucent.patch')
-rw-r--r-- | translucent.patch | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/translucent.patch b/translucent.patch index c450ccc93932..24fb5e1ec477 100644 --- a/translucent.patch +++ b/translucent.patch @@ -48,6 +48,20 @@ diff -Naur a/src/vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRu } const layoutInfo = options.get(EditorOption.layoutInfo); +diff -Naur a/src/vs/editor/browser/widget/media/diffEditor.css b/src/vs/editor/browser/widget/media/diffEditor.css +--- a/src/vs/editor/browser/widget/media/diffEditor.css 2022-09-01 00:05:32.000000000 +0200 ++++ b/src/vs/editor/browser/widget/media/diffEditor.css 2022-09-29 06:01:33.775897418 +0200 +@@ -13,8 +13,8 @@ + } + + /* colors not externalized: using transparancy on background */ +-.monaco-diff-editor.vs .diffOverview { background: rgba(0, 0, 0, 0.03); } +-.monaco-diff-editor.vs-dark .diffOverview { background: rgba(255, 255, 255, 0.01); } ++.monaco-diff-editor.vs .diffOverview { background: transparent; } ++.monaco-diff-editor.vs-dark .diffOverview { background: transparent; } + + .monaco-scrollable-element.modified-in-monaco-diff-editor.vs .scrollbar { background: rgba(0,0,0,0); } + .monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark .scrollbar { background: rgba(0,0,0,0); } diff -Naur a/src/vs/platform/windows/electron-main/windowImpl.ts b/src/vs/platform/windows/electron-main/windowImpl.ts --- a/src/vs/platform/windows/electron-main/windowImpl.ts 2022-09-01 00:05:32.000000000 +0200 +++ b/src/vs/platform/windows/electron-main/windowImpl.ts 2022-09-04 04:50:44.757860341 +0200 @@ -126,15 +140,15 @@ diff -Naur a/src/vs/workbench/common/theme.ts b/src/vs/workbench/common/theme.ts light: null, diff -Naur a/src/vs/workbench/contrib/splash/browser/partsSplash.ts b/src/vs/workbench/contrib/splash/browser/partsSplash.ts --- a/src/vs/workbench/contrib/splash/browser/partsSplash.ts 2022-09-01 00:05:32.000000000 +0200 -+++ b/src/vs/workbench/contrib/splash/browser/partsSplash.ts 2022-09-06 23:08:02.701342240 +0200 ++++ b/src/vs/workbench/contrib/splash/browser/partsSplash.ts 2022-09-21 19:45:46.617254995 +0200 @@ -68,11 +68,16 @@ private _savePartsSplash() { const theme = this._themeService.getColorTheme(); + const windowBackground = theme.getColor(themes.WINDOW_BACKGROUND) || Color.transparent; + const background = windowBackground.isOpaque() ? windowBackground.transparent(0.99) -+ : windowBackground.isTransparent() ? Color.fromHex('#FFF0') -+ : windowBackground; ++ : windowBackground.isTransparent() ? Color.fromHex('#FFF0') ++ : windowBackground; + this._partSplashService.saveWindowSplash({ baseTheme: getThemeTypeSelector(theme.type), |