-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop/fix_dropdown_invalid_size'
- Loading branch information
Showing
12 changed files
with
80 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
...quna.rosettaui.uitoolkit/Runtime/UnityInternalAccess/GenericDropdownMenuIgnoreAnchored.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using UnityEngine; | ||
using UnityEngine.UIElements; | ||
|
||
namespace RosettaUI.UIToolkit | ||
{ | ||
// Dropdown()の第3引数を無視するGenericDropdownMenu | ||
// BasePopupFieldがDropdownMenuでanchor == trueで呼び出しているが、 | ||
// falseにしたいために作成 | ||
// IGenericMenuがinternalなのが辛い | ||
public class GenericDropdownMenuIgnoreAnchored : GenericDropdownMenu, IGenericMenu | ||
{ | ||
void IGenericMenu.DropDown(Rect position, VisualElement targetElement, bool anchored) | ||
=> base.DropDown(position, targetElement, false); | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
...rosettaui.uitoolkit/Runtime/UnityInternalAccess/GenericDropdownMenuIgnoreAnchored.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...quna.rosettaui.uitoolkit/Runtime/UnityInternalAccess/RosettaUI.UnityInternalAccess.asmdef
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...rosettaui.uitoolkit/Runtime/UnityInternalAccess/RosettaUI.UnityInternalAccess.asmdef.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
m_EditorVersion: 6000.0.2f1 | ||
m_EditorVersionWithRevision: 6000.0.2f1 (c36be92430b9) | ||
m_EditorVersion: 6000.0.22f1 | ||
m_EditorVersionWithRevision: 6000.0.22f1 (001fa5a8e29a) |