Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore(TS) Object interactivity #8401

Merged
merged 14 commits into from
Oct 30, 2022
Prev Previous commit
Next Next commit
Update src/mixins/object_interactivity.mixin.ts
Co-authored-by: Shachar <34343793+ShaMan123@users.noreply.github.com>
  • Loading branch information
asturur and ShaMan123 authored Oct 30, 2022
commit 10e02b40f39b1ccf6aa586ba5f4b5a5b2bc8b51b
2 changes: 1 addition & 1 deletion src/mixins/object_interactivity.mixin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export class InteractiveFabricObject extends FabricObject {
* @param {Function} fn function to iterate over the controls over
*/
forEachControl(
fn: (arg0: any, arg1: string, arg2: InteractiveFabricObject) => any
fn: (control: any, key: string, fabricObject: InteractiveFabricObject) => any
) {
for (const i in this.controls) {
fn(this.controls[i], i, this);
Expand Down