Skip to content

Commit

Permalink
Fix uproperty meta
Browse files Browse the repository at this point in the history
  • Loading branch information
TrickyFatCat committed Nov 27, 2022
1 parent 670e7a0 commit cf52ad3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/TrickyButtons/Public/ButtonBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class TRICKYBUTTONS_API AButtonBase : public AActor
/**
* If true, the button will stay in the pressed state for some time.
*/
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Button", meta=(AllowPrivateAccess, InlineEditConditionToggle))
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Button", meta=(AllowPrivateAccess))
bool bIsPressedTemporary = false;

/**
Expand All @@ -101,7 +101,7 @@ class TRICKYBUTTONS_API AButtonBase : public AActor
UPROPERTY(EditAnywhere,
BlueprintReadWrite,
Category="Button",
meta=(AllowPrivateAccess, EditCondition="bTimedPressedState", ClampMin="0"))
meta=(AllowPrivateAccess, EditCondition="bIsPressedTemporary", ClampMin="0"))
float PressedStateDuration = 0.f;

UPROPERTY(BlueprintReadOnly, Category="Button")
Expand Down

0 comments on commit cf52ad3

Please sign in to comment.