Skip to content

Commit

Permalink
eslint, stop it
Browse files Browse the repository at this point in the history
  • Loading branch information
samuellouf committed Aug 11, 2023
1 parent 70ec9b8 commit 7aa30e9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions extensions/SamuelLouf/iframe.js
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@

// '---',

SetIFramePosition (x = this.iframe_pos.x, y = this.iframe_pos.y, width = this.iframe.width, height = this.iframe.height) {
SetIFramePosition (x, y, width, height) {
const stage = {
width: runtime.stageWidth,
height: runtime.stageHeight
Expand Down Expand Up @@ -612,12 +612,12 @@
// '---',

setiFrameX(args) {
this.SetIFramePosition(args.x);
this.SetIFramePosition(args.x, this.iframe_pos.y, this.iframe.width, this.iframe.height);
this.iframe_pos.x = args.x;
}

setiFrameY(args) {
this.SetIFramePosition(y=args.y);
this.SetIFramePosition(this.iframe_pos.x, args.y, this.iframe.width, this.iframe.height);
this.iframe_pos.y = args.y;
}

Expand All @@ -630,13 +630,13 @@
}

setiFrameXY(args) {
this.SetIFramePosition(args.x, args.y);
this.SetIFramePosition(args.x, args.y, this.iframe.width, this.iframe.height);
this.iframe_pos.x = args.x;
this.iframe_pos.y = args.y;
}

pointiFrameInDirection(args) {
this.iframe.style.rotate=Cast.toString((Number(args.deg) - 90) + 'deg');
this.iframe.style.rotate = Cast.toString((Number(args.deg) - 90) + 'deg');
}

getiFrameX() {
Expand All @@ -652,7 +652,7 @@
}

reinitiFramePos() {
this.SetIFramePosition(0, 0);
this.SetIFramePosition(0, 0, this.iframe.width, this.iframe.height)
}

// '---',
Expand Down

0 comments on commit 7aa30e9

Please sign in to comment.