Skip to content

Fix layer opacity inspector slider on empty layer - #188

Open
StickmanRed wants to merge 1 commit into
developmentfrom
StickmanRed-layer-opacity-inspector-fix
Open

Fix layer opacity inspector slider on empty layer#188
StickmanRed wants to merge 1 commit into
developmentfrom
StickmanRed-layer-opacity-inspector-fix

Conversation

@StickmanRed

Copy link
Copy Markdown
Collaborator

Should be quick to merge, just adds a null check.

Inspector layer opacity slider sets project.selection.opacity, which calls project.tryToAutoCreateTween(). It checks for project.activeFrame.tweens, but if the layer has no frame at the current time, it errors out.

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

Successfully merging this pull request may close these issues.

1 participant