Skip to content

Commit 69efb2b

Browse files
committed
Fix [comment] width property bug
1 parent d671b0a commit 69efb2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Objects/CommentObject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class CommentObject final : public ObjectBase
2323
CommentObject(pd::WeakReference obj, Object* object)
2424
: ObjectBase(obj, object)
2525
{
26-
objectParameters.addParamInt("Width (chars)", cDimensions, &sizeProperty, true, false);
26+
objectParameters.addParamInt("Width (chars)", cDimensions, &sizeProperty, 0, true, 0);
2727
locked = getValue<bool>(object->locked);
2828

2929
setViewportIgnoreDragFlag(false);

0 commit comments

Comments
 (0)