PKM-er / obsidian-editing-toolbar

An obsidian toolbar plugin, modified from the Cmenu plugin
Mozilla Public License 2.0
872 stars 31 forks source link

refactor: refactored the positioning system of the toolbar in the "following". #150

Closed s4my closed 7 months ago

s4my commented 7 months ago
cumany commented 7 months ago

Thank you for your work. There seems to be a positioning issue with my computer; the toolbar keeps overflowing off the screen. We'll hold off on merging branches until it's resolved. More improvements to come.

s4my commented 7 months ago

the toolbar keeps overflowing off the screen.

Can you elaborate more please, what do you mean off screen? like outside of Obsidian's window completely? and can you please make sure to disable any plugins or themes that might interfere with your testing (you could use Obsidian sandbox vault). I updated the code, please try again and keep me updated.

cumany commented 7 months ago

it looks a bit more normal, but the following list of tests will help you to determine if you have the same problem:

  1. Multiple rows are selected from left to right and the toolbar is obscuring the center. image
  2. selecting words at the end of a line from left to right completely obscures the words. image
  3. This problem seems to be a little more pressing, as in workplace panel with a left/right split screen, when you select text on the right side of the split screen, the toolbar is still in the same place as on the left side of the split screen. image
s4my commented 7 months ago

Hi @cumany, thank you for the detailed feedback, I fixed all the issues you mentioned above in this new commit. If you need me to make any further changes feel free to tell.

cumany commented 7 months ago

Good job. It was perfect!