Skip to content

Zoomed view of the 2D board can hide the spot of interest #18

@GNiklasch

Description

@GNiklasch

A minor thing in the ease-of-use department...:

Scenario: Playing Formic Functions with default settings (2500x1000 arena shown in 2D) in a browser window not quite as wide as the arena is (Safari 11.0.3 on macOS).

When the mouse pointer is in the right half of the arena/board, the zoomed view is displayed flush left with the left edge of the board, and it is less than half as wide as the board: Works fine.

When the mouse pointer is in the left half of the board, the zoomed view is displayed, not flush with the right edge, but closer to the middle of the board. When the point of interest
(and thus the mouse pointer) is itself near the middle of the board in the left-right direction, the zoomed view will pop up so as to cover it, and it pops down again at the slightest mouse jiggle. Moreover, it seems not to be possible to pin the zoomed view to such a point of interest, I guess because the click requesting to do so ends up in the zoomed view instead of in the board which is momentarily hidden under it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions