mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 12:27:36 +02:00
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:
@ -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()
|
||||
|
Reference in New Issue
Block a user