Minor fixes
This commit is contained in:
@@ -221,7 +221,6 @@ namespace FlaxEditor.Windows
|
|||||||
{
|
{
|
||||||
if (!Editor.StateMachine.CurrentState.CanEditScene)
|
if (!Editor.StateMachine.CurrentState.CanEditScene)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
ShowContextMenu(node, location);
|
ShowContextMenu(node, location);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -356,7 +356,7 @@ namespace FlaxEngine.GUI
|
|||||||
for (int i = _children.Count - 1; i >= 0; i--)
|
for (int i = _children.Count - 1; i >= 0; i--)
|
||||||
{
|
{
|
||||||
var child = _children[i];
|
var child = _children[i];
|
||||||
if (IntersectsChildContent(child, point, out var childLocation))
|
if (child.Visible && IntersectsChildContent(child, point, out var childLocation))
|
||||||
{
|
{
|
||||||
var containerControl = child as ContainerControl;
|
var containerControl = child as ContainerControl;
|
||||||
var childAtRecursive = containerControl?.GetChildAtRecursive(childLocation);
|
var childAtRecursive = containerControl?.GetChildAtRecursive(childLocation);
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
// Copyright (c) 2012-2024 Wojciech Figat. All rights reserved.
|
// Copyright (c) 2012-2024 Wojciech Figat. All rights reserved.
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
using System.ComponentModel;
|
||||||
|
|
||||||
namespace FlaxEngine.GUI
|
namespace FlaxEngine.GUI
|
||||||
{
|
{
|
||||||
@@ -382,6 +383,7 @@ namespace FlaxEngine.GUI
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the shear transform angles (x, y). Defined in degrees. Shearing happens relative to the control pivot point.
|
/// Gets or sets the shear transform angles (x, y). Defined in degrees. Shearing happens relative to the control pivot point.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[DefaultValue(0.0f)]
|
||||||
[ExpandGroups, EditorDisplay("Transform"), EditorOrder(1040), Tooltip("The shear transform angles (x, y). Defined in degrees. Shearing happens relative to the control pivot point.")]
|
[ExpandGroups, EditorDisplay("Transform"), EditorOrder(1040), Tooltip("The shear transform angles (x, y). Defined in degrees. Shearing happens relative to the control pivot point.")]
|
||||||
public Float2 Shear
|
public Float2 Shear
|
||||||
{
|
{
|
||||||
@@ -398,6 +400,7 @@ namespace FlaxEngine.GUI
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the rotation angle (in degrees). Control is rotated around it's pivot point (middle of the control by default).
|
/// Gets or sets the rotation angle (in degrees). Control is rotated around it's pivot point (middle of the control by default).
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[DefaultValue(0.0f)]
|
||||||
[ExpandGroups, EditorDisplay("Transform"), EditorOrder(1050), Tooltip("The control rotation angle (in degrees). Control is rotated around it's pivot point (middle of the control by default).")]
|
[ExpandGroups, EditorDisplay("Transform"), EditorOrder(1050), Tooltip("The control rotation angle (in degrees). Control is rotated around it's pivot point (middle of the control by default).")]
|
||||||
public float Rotation
|
public float Rotation
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user