Skip to content
This repository has been archived by the owner on Aug 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #98 from uurha/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
uurha committed Sep 15, 2023
1 parent 4353974 commit 0b89897
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Editor/EditorAddons/Drawers/Select/SelectDrawerBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ protected override bool PreDraw(ref Rect position, SerializedProperty property,
try
{
var attribute = (TAttribute)_attribute;
_setupStrategy ??= SelectUtility.Instance.GetSetupStrategy(_fieldInfo, property.GetPropertyContainer(), attribute);
_setupStrategy ??= SelectUtility.Instance.GetSetupStrategy(_fieldInfo, property.GetLastNonCollectionContainer(), attribute);
if (_setupStrategy == null || (!_setupStrategy.CheckSupported()))
{
EditorGUI.BeginChangeCheck();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.uurha.betterattributes",
"displayName": "Better Attributes",
"version": "2.1.35",
"version": "2.1.36",
"unity": "2020.1",
"description": "Unity attributes, allows to serialize interfaces, draw handles for Vector3/Vector2/Quaternion/Bounds, create read only fields.",
"dependencies": {
Expand Down

0 comments on commit 0b89897

Please sign in to comment.