mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-15 06:16:14 +00:00
perf: Only show gradient blend mode if used and removed unused perf configs, b=no-bug, c=common, compact-mode, workspaces
This commit is contained in:
@@ -969,9 +969,14 @@
|
||||
texture,
|
||||
};
|
||||
}
|
||||
|
||||
//TODO: add a better noise system that adds noise not just changes transparency
|
||||
updateNoise(texture) {
|
||||
document.documentElement.style.setProperty('--zen-grainy-background-opacity', texture);
|
||||
document.documentElement.setAttribute(
|
||||
'zen-show-grainy-background',
|
||||
texture > 0 ? 'true' : 'false'
|
||||
);
|
||||
}
|
||||
|
||||
hexToRgb(hex) {
|
||||
|
Reference in New Issue
Block a user