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

Conversation

@MrStevns
Copy link
Member

Derived from #953, this PR seeks to integrate as little as possible, so that we can focus on the manager and element classes and then merge those when we find the manager ready.

To ensure even greater success with this it would also be a good idea to write tests for each backup element, so that we can verify that the implementations work as expected.

I have not verified that the backup logic still works but considering I haven't touched it in a long time and it worked the last time I worked on it.. I would expect it to still work.

@MrStevns MrStevns requested a review from scribblemaniac June 29, 2021 16:29
@scribblemaniac scribblemaniac added 🔷 Major PR (two reviewers when possible) Undo labels Jul 1, 2021
@scribblemaniac scribblemaniac self-assigned this Jul 1, 2021
scribblemaniac and others added 14 commits June 30, 2021 21:46
Also fixes potential issue where mSelectionRect would be expanded,
even if YesOrNo is false.
This is done automatically in the QObject destructor. Calling it here
could potentially mess up code it we ever use the destroyed() signal for
this object.
Mostly this was just refactoring to remove the redundant code between
functions, but it also makes minor functional changes which will hopefully
not affect anything:
- Empty sound frames are now overridden
- The current layer is not changed if adding the new keyframe was unsuccessful
- currentLayerChanged(), frameModified(), and animationLengthChanged() will now be emitted
More refactoring, with the following functional changes:
- deselectAll is called before removing frame with removeKeyAtLayerId
- currentLayerChanged(), frameModified(), and animationLengthChanged() is emitted even if the layer isn't changed with removeKeyAtId
- Case where no layer with id layerId is caught
@chchwy chchwy added this to the 0.7.0 milestone Jul 15, 2021
@MrStevns MrStevns marked this pull request as draft September 25, 2021 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔷 Major PR (two reviewers when possible) Undo

Projects

Status: Discarded

Development

Successfully merging this pull request may close these issues.

4 participants