ehmkah / imgdiff

ImgDiff is a plugin for IntelliJ which shows the diff between two images in IntelliJ's diff screen
Apache License 2.0
17 stars 1 forks source link

feature: option to sync scroll and zoom #73

Open raDiesle opened 3 years ago

raDiesle commented 3 years ago

When comparing images, in almost all situation you want to compare same coordinates on original and second image. Right now when zooming in original and compare same area in second image its quite hard and same scroll action must be done. (In general, images have same height and width. If they are different, in our use cases height content is increased to bottom, widht is increased to the right.)

Describe the solution you'd like An option in IntelliJ, which is enabled by default, which will sync scroll position between original, diff and second image as well as zoom level.

Describe alternatives you've considered manual scroll/zoom in all 3 image views to have same view

Additional context

ehmkah commented 3 years ago

thank you for the feature request.

It would be nice to have it The thing which makes it difficult is that I use the general IntelliJ Editor Image display capabilities. For this feature a complete new screen may be needed which controlls the behavior. The good news is the blinking diff mode already has its own window, so maybe i can copy something from it.

May need some time...