Editor bug fixes (#261)

* Spaceball cleanup and small bug fix

* Replace old hit sound in spaceball

* Camera filters

* added 9 new filters, including 3 types of sepia

* oops

* remark

* normalization of fade out and fade in on filters are by 100

* GenerateFilterTypeEnum comments

* Pure black and white filter

* Zooming

* Constant playback bar offset

* Prepare box selector rewrite

* Update icons, finalize

* Bug fixes
This commit is contained in:
Braedon Lewis
2023-02-05 14:48:49 -05:00
committed by GitHub
parent 5ce7862369
commit b45c4315b5
13 changed files with 130 additions and 88 deletions

View File

@ -90,14 +90,14 @@ namespace HeavenStudio.Editor.Track
if (count > 0) transform.GetChild(0).gameObject.SetActive(false);
}
if (scrollRect.content.anchoredPosition.x != lastPosX)
if (rectTransform.anchoredPosition.x != lastPosX)
{
UpdateGridNum();
}
lastContentScale = scrollRect.content.localScale.x;
lastTimelineSize = scrollRect.viewport.rect.size.x;
lastPosX = scrollRect.content.anchoredPosition.x;
lastPosX = rectTransform.anchoredPosition.x;
}
private void UpdateGridNum()