Double-click zoom of the first row or column of a selection shifts image pososition & zooms to top left

Issue #316 closed
Robert Leach created an issue

USE CASE: WHAT DO YOU WANT TO DO?

Zoom into a selection via double-click inside a selection

STEPS TO REPRODUCE AN ISSUE (OR TRIGGER A NEW FEATURE)

  1. Select a contiguous group of tiles
  2. double-click any tile in the top row or left column

This happens with all double-click modifiers as well.

CURRENT BEHAVIOR

If zoomed & scrolled, image shifts to top left corner. Zooming happens into the top and/or left side instead of into the center of the selection.

EXPECTED BEHAVIOR

Zooming happens into the center of the selection

DEVELOPERS ONLY SECTION

SUGGESTED CHANGE (Pseudocode optional)

This is possibly a bug in the getMinContiguousIndex code where it is returning 0 instead of the selection boundary.

FILES AFFECTED (where the changes will be implemented) - developers only

unknown

LEVEL OF EFFORT - developers only

minor

COMMENTS

This bug is in both master and Chris's layout branch.

Comments (4)

  1. Robert Leach reporter

    This issue appears to have been resolved in a recent update of master. I had narrowed the issue to a scrolling issue and I know that there were some scrolling issues that Chris worked on, so it looks like it's now fixed.

  2. Log in to comment