From ba24a4a15c0317ac2fd954f4173b4b79cbdf191e Mon Sep 17 00:00:00 2001
From: lwb <q3213421wrwqr>
Date: 星期三, 11 十一月 2020 17:06:33 +0800
Subject: [PATCH] 9527 unity 升级
---
Assets/PostProcessing/Editor/Utils/CurveEditor.cs | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Assets/PostProcessing/Editor/Utils/CurveEditor.cs b/Assets/PostProcessing/Editor/Utils/CurveEditor.cs
index ee8f1c1..98bd4de 100644
--- a/Assets/PostProcessing/Editor/Utils/CurveEditor.cs
+++ b/Assets/PostProcessing/Editor/Utils/CurveEditor.cs
@@ -376,7 +376,7 @@
// Draw
if (state.showNonEditableHandles)
{
- if (e.type == EventType.repaint)
+ if (e.type == EventType.Repaint)
{
var selectedColor = (isCurrentlySelectedCurve && isCurrentlySelectedKeyframe)
? settings.selectionColor
@@ -422,7 +422,7 @@
}
// Keyframe selection & context menu
- if (e.type == EventType.mouseDown && rect.Contains(e.mousePosition))
+ if (e.type == EventType.MouseDown && rect.Contains(e.mousePosition))
{
if (hitRect.Contains(e.mousePosition))
{
@@ -453,7 +453,7 @@
}
// Tangent selection & edit mode
- if (e.type == EventType.mouseDown && rect.Contains(e.mousePosition))
+ if (e.type == EventType.MouseDown && rect.Contains(e.mousePosition))
{
if (inTangentHitRect.Contains(e.mousePosition) && (k > 0 || state.loopInBounds))
{
@@ -499,7 +499,7 @@
var e = Event.current;
// Selection
- if (e.type == EventType.mouseDown)
+ if (e.type == EventType.MouseDown)
{
GUI.FocusControl(null);
m_SelectedCurve = null;
@@ -582,7 +582,7 @@
}
// Delete selected key(s)
- if (e.type == EventType.keyDown && (e.keyCode == KeyCode.Delete || e.keyCode == KeyCode.Backspace))
+ if (e.type == EventType.KeyDown && (e.keyCode == KeyCode.Delete || e.keyCode == KeyCode.Backspace))
{
if (m_SelectedKeyframeIndex != -1 && m_SelectedCurve != null)
{
--
Gitblit v1.8.0