Skip to content

Commit b64d007

Browse files
committedOct 30, 2024··
Update glance activation method for different platforms
1 parent 88f954f commit b64d007

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed
 

‎src/browser/app/profile/zen-browser.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,14 @@ pref('zen.view.compact.color-toolbar', true);
9797
pref('zen.view.compact.color-sidebar', true);
9898

9999
pref('zen.glance.enabled', true);
100-
pref('zen.glance.activation-method', 'alt'); // ctrl, alt, shift, none, hold
101100
pref('zen.glance.hold-duration', 300); // in ms
102101

102+
#ifdef XP_MACOSX
103+
pref('zen.glance.activation-method', 'alt'); // ctrl, alt, shift, none, hold
104+
#else
105+
pref('zen.glance.activation-method', 'ctrl'); // ctrl, alt, shift, none, hold
106+
#endif
107+
103108
pref('zen.view.sidebar-height-throttle', 200); // in ms
104109
pref('zen.view.sidebar-expanded', true);
105110
pref('zen.view.sidebar-expanded.on-hover', false);

0 commit comments

Comments
 (0)
Please sign in to comment.