Akifyss / obsidian-border

A theme for obsidian.md
MIT License
1.34k stars 47 forks source link

[BUG] Theme zoom function is bugged when used with Obsidian Image Toolkit Plugin #293

Closed ianTevesAcc closed 3 months ago

ianTevesAcc commented 3 months ago

When the theme is used in conjunction with the Image Toolkit Plugin, It prevents the Image toolkit from functioning. You can't work around it because if you turn off the image zoom functionality through Obsidian Styles plugin, it blocks zooming for both the theme and the plugin.

To reproduce:

  1. activate and install Obsidian Image Toolkit and Obsidian Border theme
  2. paste an image into a note
  3. restart obsidian
  4. left click the image

Expected Behavior: The Obsidian Image Toolkit plugin is activated, so the image is zoomed in. (Or there is an option in the settings in order to override the Border theme zoom functionality to be disabled in order for the plugin zoom functionality to be the one that functions)

Result: The Border theme zoom functionality is the one that functions and there is no way to turn it off.

Additional: I don't know if I should put this as a feature request or a bug as its not really a bug, its just an incompatibility to the Image Toolkit plugin. But basically the feature request is to add a way to disable the Border theme zoom functionality, so that I can use the zoom functionality of the Image Toolkit plugin instead.

Akifyss commented 3 months ago

I don't quite understand what you mean by "It prevents the Image toolkit from functioning." Could you please provide some images or video information? Because when I enable the options below, I don't notice much difference using the Image Toolkit Plugin under both border theme and default theme. image

ianTevesAcc commented 3 months ago

Sorry 😅. I tried to record a video of what happened but luckily the problem solved itself somehow. I tried that solution already and it didn't work. Weirdly for some reason, it works now. Sorry for the hassle. But thank you for the help!