Reset last drawn point after undo for draw line behavior #1005

Closed
KasumiArai opened this Issue Mar 8, 2016 · 2 comments

Comments

Projects
None yet
2 participants
  1. Make a brush stroke with the pencil tool
  2. Shift click a bit to the right to create a line from the last point of the brush stroke to to the current mouse position.
  3. Undo with ctrl+z.
  4. Shift click slightly above the current mouse's position.

You will get a line from where the undone stroke ended, rather than where the stroke before it ended. I think it's a bug because it does reset the point when "cancelling" a stroke using the opposite mouse click button. The black stroke in the image below shows the undo with control+z not resetting the point, while the blue stroke shows the point getting reset.

asepriteresetdrawpoint

Aseprite 1.1.4-beta1

Owner

dacap commented Mar 9, 2016

Hi @KasumiArai, quite complex to be fixed, but I'll see what we can do. (It looks like UI editor information should be saved in undo steps.)

@dacap dacap added this to the v1.1 milestone Dec 11, 2016

@dacap dacap modified the milestones: v1.1, v1.1-bugs Jan 8, 2017

@dacap dacap referenced this issue Jan 10, 2017

Open

Pixel-art friendly features & tweaks #1387

3 of 11 tasks complete

@dacap dacap self-assigned this Jun 6, 2017

Owner

dacap commented Jun 16, 2017

I'm going to fix this one in the following way: The last painted color will be a data stored in the sprite (i.e. shared between all editors), so the undo information will save/restore that last point information.

@dacap dacap modified the milestones: v1.2, v1.1-bugs Jun 16, 2017

@dacap dacap closed this in 34e7945 Jun 16, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment