Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add set default zoom for each website function #392 #393

Conversation

HollowMan6
Copy link
Contributor

The database is located at config_dir/browser/zoom_data.db

Database Structure

image

Host collects the Website HostName.
ZoomScale collects the zoom factor of the HostName.

Principles

image

When zooming in or zooming out, if zoom factor doesn't equal to eaf-browser-default-zoom, it will be recorded into database. The program also deletes the record when the zoom factor equals to eaf-browser-default-zoom to make sure that users can simply set eaf-browser-default-zoom to change every website's zoom factor, and to make sure that the database won't grow too big.

Signed-off-by: Hollow Man hollowman@hollowman.ml

Signed-off-by: Hollow Man <hollowman@hollowman.ml>
@manateelazycat manateelazycat merged commit 86c6c55 into emacs-eaf:master Sep 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants