Skip to content

Commit 5977475

Browse files
committed
small fix
1 parent a5beaf9 commit 5977475

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

internal/comp/eventActionArgs.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func (a EventActionArgs) Delta(value int) EventActionArgs {
6161
return a.Set("delta", value)
6262
}
6363

64-
func (a EventActionArgs) copyFormat(value string) EventActionArgs {
64+
func (a EventActionArgs) CopyFormat(value string) EventActionArgs {
6565
return a.Set("copyFormat", value)
6666
}
6767

internal/comp/inputQuarter.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,6 @@ func (q InputQuarter) Width(value string) InputQuarter {
276276

277277
// set sets a property value
278278
func (q InputQuarter) set(key string, value any) InputQuarter {
279-
// This method should set the property `key` with the given `value` on the `QuarterControl` instance.
280-
// Assuming we have a way to store and manage these properties.
279+
q[key] = value
281280
return q
282281
}

0 commit comments

Comments
 (0)