Skip to content

Commit 2e1f941

Browse files
committed
- Setting default size at TAudioStoryItem constructor
1 parent 0d91126 commit 2e1f941

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

App/Views/StoryItems/READCOM.Views.StoryItems.AudioStoryItem.pas

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,9 @@ implementation
149149
end;
150150

151151
Hidden := true;
152+
153+
Size.Size := DefaultSize; //setting to default size
154+
//Size.DefaultValue := DefaultSize; //TODO: should we set this? Maybe used to avoid storing the size when it's the default?
152155
end;
153156

154157
destructor TAudioStoryItem.Destroy;

0 commit comments

Comments
 (0)