mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-18 01:08:24 +00:00
feat: update UI styles for Mica support and adjust font size in URL bar
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
diff --git a/widget/windows/nsWindow.cpp b/widget/windows/nsWindow.cpp
|
||||
index 00681c216c838efedbbcded9d6b843dbd8b5b0b6..9e0450e4258373327faa7d58b5b9f851ab4082a5 100644
|
||||
--- a/widget/windows/nsWindow.cpp
|
||||
+++ b/widget/windows/nsWindow.cpp
|
||||
@@ -1075,7 +1075,7 @@ nsresult nsWindow::Create(nsIWidget* aParent, const LayoutDeviceIntRect& aRect,
|
||||
|
||||
if (WinUtils::MicaEnabled() && !IsPopup()) {
|
||||
// Enable Mica Alt Material if available.
|
||||
- const DWM_SYSTEMBACKDROP_TYPE tabbedWindow = DWMSBT_TABBEDWINDOW;
|
||||
+ const DWM_SYSTEMBACKDROP_TYPE tabbedWindow = DWMSBT_MAINWINDOW;
|
||||
DwmSetWindowAttribute(mWnd, DWMWA_SYSTEMBACKDROP_TYPE, &tabbedWindow,
|
||||
sizeof tabbedWindow);
|
||||
}
|
Reference in New Issue
Block a user