Navigation Menu

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

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

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

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

KasumiArai opened this issue Mar 8, 2016 · 2 comments
Assignees
Milestone

Comments

@KasumiArai
Copy link

  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

@dacap
Copy link
Member

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 self-assigned this Jun 6, 2017
@dacap
Copy link
Member

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 as completed in 34e7945 Jun 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants