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

Crash on moving keyframe to 0s - if its past the time marker #6071

Closed
uwosi opened this issue Sep 3, 2022 · 1 comment
Closed

Crash on moving keyframe to 0s - if its past the time marker #6071

uwosi opened this issue Sep 3, 2022 · 1 comment
Assignees
Milestone

Comments

@uwosi
Copy link

uwosi commented Sep 3, 2022

Problem description

Dragging a keyframe to the 0s position of the timeline bar causes a crash if the keyframe is moved past the time marker

Steps to reproduce

  1. Create a sprite
  2. Open a timeline and add the sprite
  3. Enter the edit mode
  4. Move the sprite and add a keyframe
  5. Drag the keyframe to the 0s position but past the time (red) marker

Example:
timey_liney

Observed result

💣💥😲 crash

Expected result

😊👍 no crash

System details

View details Error report information Type: unhandled rejection Reason: Error: unexpected type @ TypeError: unexpected type at Function.Q.i (https://editor.construct.net/r308/main.js:900:461) at gJ.gp (https://editor.construct.net/r308/projectResources.js:1191:396) at d.gp (https://editor.construct.net/r308/projectResources.js:1113:312) at d.gp (https://editor.construct.net/r308/projectResources.js:1044:266) at d.AG (https://editor.construct.net/r308/projectResources.js:966:114) at d.AG (https://editor.construct.net/r308/projectResources.js:966:203) at d.pha (https://editor.construct.net/r308/components/bars/timelineBar/timelineBar.js:41:416) at d.u2.eS (https://editor.construct.net/r308/components/bars/timelineBar/timelineBar.js:187:107) at d.u2.jwc (https://editor.construct.net/r308/components/bars/timelineBar/timelineBar.js:173:304) at Array. (https://editor.construct.net/r308/components/bars/timelineBar/timelineBar.js:158:9) Stack: TypeError: unexpected type at Function.Q.i (https://editor.construct.net/r308/main.js:900:461) at gJ.gp (https://editor.construct.net/r308/projectResources.js:1191:396) at d.gp (https://editor.construct.net/r308/projectResources.js:1113:312) at d.gp (https://editor.construct.net/r308/projectResources.js:1044:266) at d.AG (https://editor.construct.net/r308/projectResources.js:966:114) at d.AG (https://editor.construct.net/r308/projectResources.js:966:203) at d.pha (https://editor.construct.net/r308/components/bars/timelineBar/timelineBar.js:41:416) at d.u2.eS (https://editor.construct.net/r308/components/bars/timelineBar/timelineBar.js:187:107) at d.u2.jwc (https://editor.construct.net/r308/components/bars/timelineBar/timelineBar.js:173:304) at Array. (https://editor.construct.net/r308/components/bars/timelineBar/timelineBar.js:158:9) Construct version: r308 URL: https://editor.construct.net/
@DiegoScirra DiegoScirra self-assigned this Sep 5, 2022
@DiegoScirra DiegoScirra added this to the Next beta milestone Sep 5, 2022
@DiegoScirra
Copy link
Collaborator

Fixed in the next beta.

Revision 17691.

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

No branches or pull requests

2 participants