Skip to content

Commit 41e5f18

Browse files
committed
Flatten if/else statement according to requested change
1 parent e025460 commit 41e5f18

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

PinkSea.Frontend/src/api/tegaki/tegaki.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1143,11 +1143,9 @@ export class TegakiPipette extends TegakiTool {
11431143
draw(posX, posY) {
11441144
var c, ctx;
11451145

1146-
if (true) {
1147-
ctx = Tegaki.flatten().getContext('2d');
1148-
}
1149-
else {
1150-
}
1146+
1147+
ctx = Tegaki.flatten().getContext('2d');
1148+
11511149

11521150
c = $T.getColorAt(ctx, posX, posY);
11531151

0 commit comments

Comments
 (0)