mirror of
https://gitgud.io/AbstractConcept/rimworld-animation-studio.git
synced 2024-08-15 00:43:27 +00:00
Bug fixes
This commit is contained in:
parent
7e1680a7fb
commit
73f7e32e0c
69 changed files with 107 additions and 91 deletions
|
@ -107,15 +107,13 @@ namespace RimWorldAnimationStudio
|
|||
AnimationController.Instance.stageTick = keyframe.atTick.Value;
|
||||
Workspace.actorID = actorID;
|
||||
Workspace.keyframeID = keyframeID;
|
||||
|
||||
if (keyframe.atTick == 1)
|
||||
{ return; }
|
||||
|
||||
interactable = true;
|
||||
}
|
||||
|
||||
public override void OnDrag(PointerEventData eventData)
|
||||
{
|
||||
if (keyframe.atTick == 1)
|
||||
{ value = 1; return; }
|
||||
|
||||
base.OnDrag(eventData);
|
||||
|
||||
AnimationController.Instance.stageTick = keyframe.atTick.Value;
|
||||
|
@ -124,7 +122,8 @@ namespace RimWorldAnimationStudio
|
|||
|
||||
public void OnEndDrag(PointerEventData eventData)
|
||||
{
|
||||
interactable = false;
|
||||
if (keyframe.atTick == 1)
|
||||
{ value = 1; return; }
|
||||
|
||||
Workspace.Instance.RecordEvent("Keyframe tick");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue