block positioning fix
This commit is contained in:
parent
716fa7499c
commit
6a11e55170
|
|
@ -14,7 +14,7 @@ RenderTexture:
|
|||
m_DownscaleFallback: 0
|
||||
m_IsAlphaChannelOptional: 0
|
||||
serializedVersion: 5
|
||||
m_Width: 1108
|
||||
m_Width: 1109
|
||||
m_Height: 623
|
||||
m_AntiAliasing: 2
|
||||
m_MipCount: -1
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ RenderTexture:
|
|||
m_DownscaleFallback: 0
|
||||
m_IsAlphaChannelOptional: 0
|
||||
serializedVersion: 5
|
||||
m_Width: 1662
|
||||
m_Width: 1663
|
||||
m_Height: 934
|
||||
m_AntiAliasing: 1
|
||||
m_MipCount: -1
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
using System;
|
||||
|
||||
public static class AppInfo {
|
||||
public const string Version = "0.0.1001";
|
||||
public static readonly DateTime Date = new DateTime(2023, 09, 27, 19, 01, 38, 984, DateTimeKind.Utc);
|
||||
public const string Version = "0.0.1002";
|
||||
public static readonly DateTime Date = new DateTime(2023, 09, 27, 22, 20, 38, 655, DateTimeKind.Utc);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -249,8 +249,6 @@ namespace HeavenStudio.Editor.Track
|
|||
// Cursor.SetCursor(Resources.Load<Texture2D>("Cursors/move"), new Vector2(8, 8), CursorMode.Auto);
|
||||
// }
|
||||
|
||||
rectTransform.anchoredPosition = new Vector2((float)entity.beat * Timeline.instance.PixelsPerBeat, -(int)entity["track"] * Timeline.instance.LayerHeight());
|
||||
|
||||
zPriority = entity.length;
|
||||
|
||||
if (selected)
|
||||
|
|
@ -259,6 +257,7 @@ namespace HeavenStudio.Editor.Track
|
|||
|
||||
public void LateUpdate()
|
||||
{
|
||||
rectTransform.anchoredPosition = new Vector2((float)entity.beat * Timeline.instance.PixelsPerBeat, -(int)entity["track"] * Timeline.instance.LayerHeight());
|
||||
SetWidthHeight();
|
||||
|
||||
var followXL = (Timeline.instance.leftSide - (float)entity.beat) * Timeline.instance.PixelsPerBeat;
|
||||
|
|
@ -270,7 +269,6 @@ namespace HeavenStudio.Editor.Track
|
|||
visibleRegion.offsetMax = new Vector2(
|
||||
Mathf.Clamp(followXR, -(entity.length * Timeline.instance.PixelsPerBeat) + 8, 0),
|
||||
visibleRegion.offsetMax.y);
|
||||
|
||||
}
|
||||
|
||||
public void BeginMoving(bool setMovedEntity = true)
|
||||
|
|
|
|||
|
|
@ -134,7 +134,7 @@ PlayerSettings:
|
|||
16:10: 1
|
||||
16:9: 1
|
||||
Others: 1
|
||||
bundleVersion: 0.0.1001
|
||||
bundleVersion: 0.0.1002
|
||||
preloadedAssets:
|
||||
- {fileID: 102900000, guid: 5348c08b82446e0478cee8bda6c02cfc, type: 3}
|
||||
metroInputSource: 0
|
||||
|
|
@ -158,11 +158,11 @@ PlayerSettings:
|
|||
applicationIdentifier:
|
||||
Standalone: com.RHeavenStudio.Heaven-Studio
|
||||
buildNumber:
|
||||
Standalone: 1001
|
||||
Standalone: 1002
|
||||
iPhone: 0
|
||||
tvOS: 0
|
||||
overrideDefaultApplicationIdentifier: 0
|
||||
AndroidBundleVersionCode: 1001
|
||||
AndroidBundleVersionCode: 1002
|
||||
AndroidMinSdkVersion: 22
|
||||
AndroidTargetSdkVersion: 0
|
||||
AndroidPreferredInstallLocation: 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue