Skip to content

Commit

Permalink
fixed an oversight when setting keyframe easing
Browse files Browse the repository at this point in the history
  • Loading branch information
ArMM1998 committed Sep 26, 2023
1 parent 39d1533 commit 18df4b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/PanelTop.gd
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func _ready():
platform_menu.connect("id_pressed", platformMenu)

func fileMenu(item_id):
print(item_id)
#print(item_id)
if item_id == 0:
owner.newFile()
if item_id == 1:
Expand Down
2 changes: 1 addition & 1 deletion scripts/panel_bottom.gd
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ func changeTweening(id_pressed):
if track["Motion"] == "hide" or track["Motion"] == "sprite_index":
for keyframe in track["Keyframes"]:
keyframe["tweening"] = 0
elif track["Motion"].find("rgba"):
elif track["Motion"].find("rgba") != -1:
for keyframe in track["Keyframes"]:
if keyframe["tweening"] == 2:
keyframe["tweening"] = 1
Expand Down

0 comments on commit 18df4b4

Please sign in to comment.