Skip to content

Focus indicator in ImageViewer obscures image content #659

@n-oshiro

Description

@n-oshiro

Thank you for developing and maintaining Pyxel.

Regarding the focus indicator in the ImageViewer of the pixel editor, the current focus border often covers a large portion of the image area,
which can reduce visibility, especially for small or low-resolution images.

After testing several alternatives, I found the following two approaches to be effective:

  • drawing an expanded focus border outside the image area, and
  • drawing only L-shaped markers at the four corners.

With the corner-only approach, pixel content remains visible while the focus position is still easy to recognize.

Screenshots are attached for comparison. In both alternatives, the focus indicator slightly extends outside the image area, but I would appreciate feedback on the overall direction.

ピクセルエディタの ImageViewer におけるフォーカス表示について、現在の枠表示では元の編集画像の大半を覆ってしまい、特に小さい画像で視認性が低下するケースがあります。

いくつか試した結果、「枠線を拡大して外側に描画する案」と「四隅のみをL字状に描画する案」
の2案が有効だと考えています。

後者の四隅のみを表示する案では、描画内容を隠さずフォーカス位置を認識しやすいように思われます。

スクリーンショットを添付します。どちらの案もフォーカス表示がわずかに描画領域の外側にはみ出しますが、全体的な方向性についてご意見をいただければ幸いです。

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions