Skip to content

Commit

Permalink
readOnly info
Browse files Browse the repository at this point in the history
  • Loading branch information
benkuper committed Oct 7, 2023
1 parent 59c4ed3 commit 16d1ce2
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@ bool ButtonComponent::initInternal(JsonObject o)
timeAtPress = 0;

AddParameter(multiPressCount);
multiPressCount.readOnly = true;

AddParameter(isLongPressed);
isLongPressed.readOnly = true;

AddParameter(isVeryLongPressed);
isVeryLongPressed.readOnly = true;

return result;
}
Expand Down

0 comments on commit 16d1ce2

Please sign in to comment.