Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

HollowMan6
Copy link
Contributor

Adopted alternative solution in #453 by @Jdogzz

Use i to toggle among dark mode excluding images -> dark mode including images -> normal mode -> ...

In addition, you can configure the emacs var dict to change the default behavior. If emacs var dict eaf-pdf-dark-exclude-image is true, the default dark mode will exclude images, otherwise it will include images.

Signed-off-by: Hollow Man [email protected]

Comment on lines +247 to +249
self.inverted_mode_exclude_image = True
if (self.emacs_var_dict["eaf-pdf-dark-exclude-image"] == "false"):
self.inverted_mode_exclude_image = False
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

self.inverted_mode_exclude_image = self.emacs_var_dict["eaf-pdf-dark-exclue-image"] == "true"

Is better way.

Anyway I have fix this problem in newest version.

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