Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using the Rectangular Select Tool across image edges erases edge pixels #120

Open
code807 opened this issue Aug 18, 2023 · 0 comments
Open

Comments

@code807
Copy link

code807 commented Aug 18, 2023

Describe the bug
When a rectangular selection spans the horizontal width of the image, pixels on the edges are erased.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new 32x32 image
  2. Use the fill tool to fill the canvas with any color
  3. Using the Rectangular Select Tool, create a selection box that spans from the very top left pixel to the very bottom right pixel (this works at any height as long as the box spans entirely from the left to right sides)
  4. Deselect. The right and left columns of the selected pixels should be missing

Expected behavior
The selected pixels should not be altered or removed by selecting them.

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Chrome
  • Version: 116.0.5845.96

Additional context
Tested multiple times on multiple canvas sizes on Pixel Editor version 1.1.0. I have not tested for this behavior on other browsers.

TsegabAbreham added a commit to TsegabAbreham/pixel-editor that referenced this issue Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant