这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@MrStevns
Copy link
Member

@MrStevns MrStevns commented Feb 28, 2021

The PR is focused on moving pegbar related code into its own core class but it contains a bunch of improvements and fixes too.

Among the list of changes:

  • Fix cache issue caused by not calling frameModified.
  • PegStatus now inherits from Status to make use of existing functionality.
  • Implemented the ability to update a status object while keeping data.
  • Wording

image

Quality of life improvements:

  • "Select" tool will be set upon opening the dialog
  • A selection will be made unless one already exists
  • First layer will be pre-selected

Other:

  • Make sure dialogs are being closed when starting a new project context.
    Cleanup code...

Additional changes:
- Fix cache issue caused by not calling frameModified.
- Make PegbarResult -> PegStatus, inherits from Status now.
- Implement ability to update status while keeping data.
- "Select" tool will be set upon opening the dialog
- A selection will be made unless one already exists
- First layer will be pre-selected

Other:
- Make sure dialogs are being closed when starting a new project context.
Cleanup code...
@MrStevns MrStevns added Bug Enhancement UX Related to the way users interact with the program labels Feb 28, 2021
@J5lx J5lx self-assigned this Feb 28, 2021
Copy link
Member

@J5lx J5lx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good so far, I like that the aligner has its own class now. However, a few issues are still left. First of all, here’s a PR with minor changes, as usual: CandyFace#13. As for the other issues:

  • When the current position on the timeline is before the first frame, opening the peg bar dialog leads to a segfault
  • Simply closing the peg bar dialog leads to a segfault
  • When a selection exists before opening the dialog, it is necessary to deselect, then reselect the layer in order for the align button to become enabled
  • The selection is lost when the dialog is closed, even when the user didn’t actually confirm the dialog. Either way I’m not really sure what the intention behind that is.

@MrStevns
Copy link
Member Author

MrStevns commented Mar 1, 2021

All but one change has been addressed, not what to do with the last one as we can't make use of the existing functions, the way we've hooked actions directly to the manager.

Copy link
Member

@J5lx J5lx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Merging.

@J5lx J5lx merged commit 4b80db3 into pencil2d:master Mar 1, 2021
@MrStevns MrStevns deleted the pegbar-issues branch March 1, 2021 13:11
@MrStevns MrStevns added this to the v0.6.7 milestone Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement UX Related to the way users interact with the program

Projects

Status: No status
Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants