瀏覽代碼

Bugfix: Animation events frame marker now renders at the proper position

BearishSun 7 年之前
父節點
當前提交
6f02090df8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/Scripting/MBansheeEditor/Windows/Animation/GUICurveEditor.cs

+ 1 - 1
Source/Scripting/MBansheeEditor/Windows/Animation/GUICurveEditor.cs

@@ -695,7 +695,7 @@ namespace BansheeEditor
             this.height = height;
 
             guiTimeline.SetSize(width, TIMELINE_HEIGHT);
-            guiEvents.SetSize(height, EVENTS_HEIGHT);
+            guiEvents.SetSize(width, EVENTS_HEIGHT);
             guiCurveDrawing.SetSize(width, height - TIMELINE_HEIGHT - EVENTS_HEIGHT);
             guiSidebar.SetSize(SIDEBAR_WIDTH, height - TIMELINE_HEIGHT - EVENTS_HEIGHT);