Skip to content

Commit

Permalink
优化GridCoord在开启GridLayout时也显示Left Right Top Bottom参数 (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
monitor1394 committed Apr 15, 2024
1 parent 3ef2e7c commit 58e6108
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 2 additions & 0 deletions Documentation~/zh/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ slug: /changelog

## master

* (2024.04.15) 优化`GridCoord`在开启`GridLayout`时也显示`Left` `Right` `Top` `Bottom`参数 (#316)
* (2024.04.14) 修复`Tooltip``Cross`在开启`DataZoom`的情况下`label`位置不正确的问题 (#315)
* (2024.04.12) 修复`Candlesticks`效果不对的问题 (#313)
* (2024.03.20) 增加`Tooltip``triggerOn`设置触发条件
* (2024.03.19) 修复`Pie`在设置`ItemStyle``opacity`时颜色不对的问题 (#309)
Expand Down
11 changes: 4 additions & 7 deletions Editor/MainComponents/GridCoordEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,10 @@ public override void OnInspectorGUI()
++EditorGUI.indentLevel;
var layoutIndex = baseProperty.FindPropertyRelative("m_LayoutIndex").intValue;
PropertyField("m_LayoutIndex");
if (layoutIndex < 0)
{
PropertyField("m_Left");
PropertyField("m_Right");
PropertyField("m_Top");
PropertyField("m_Bottom");
}
PropertyField("m_Left");
PropertyField("m_Right");
PropertyField("m_Top");
PropertyField("m_Bottom");
PropertyField("m_BackgroundColor");
PropertyField("m_ShowBorder");
PropertyField("m_BorderWidth");
Expand Down

0 comments on commit 58e6108

Please sign in to comment.