mirror of
https://github.com/zen-browser/desktop.git
synced 2026-01-28 23:56:11 +00:00
fix: Fixed dimmed text color for linux, b=no-bug, c=glance, workspaces
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
value: true
|
||||
|
||||
- name: zen.session-store.log
|
||||
value: "@IS_TWILIGHT@"
|
||||
value: true
|
||||
|
||||
- name: zen.session-store.restore-unsynced-windows
|
||||
value: true
|
||||
|
||||
@@ -640,7 +640,6 @@ class nsZenGlanceManager extends nsZenDOMOperatedFeature {
|
||||
left: [],
|
||||
width: [],
|
||||
height: [],
|
||||
transform: [],
|
||||
};
|
||||
|
||||
const steps = this.#ARC_CONFIG.ARC_STEPS;
|
||||
@@ -674,7 +673,6 @@ class nsZenGlanceManager extends nsZenDOMOperatedFeature {
|
||||
const y =
|
||||
startPosition.y + distanceY * eased + arcDirection * arcHeight * (1 - (2 * eased - 1) ** 2);
|
||||
|
||||
sequence.transform.push(`translate(-50%, -50%)`);
|
||||
sequence.top.push(`${y}px`);
|
||||
sequence.left.push(`${x}px`);
|
||||
sequence.width.push(`${currentWidth}px`);
|
||||
|
||||
@@ -1348,7 +1348,8 @@ export class nsZenThemePicker extends nsZenMultiWindowFeature {
|
||||
}
|
||||
|
||||
getToolbarColor(isDarkMode = false) {
|
||||
return isDarkMode ? [255, 255, 255, 0.6] : [0, 0, 0, 0.6]; // Default toolbar
|
||||
let opacity = AppConstants.platform === "linux" ? 0.8 : 0.6;
|
||||
return isDarkMode ? [255, 255, 255, opacity] : [0, 0, 0, opacity]; // Default toolbar
|
||||
}
|
||||
|
||||
onWorkspaceChange(workspace, skipUpdate = false, theme = null) {
|
||||
|
||||
Reference in New Issue
Block a user