Skip to content

Commit

Permalink
#154 Lint対応
Browse files Browse the repository at this point in the history
  • Loading branch information
ienaga committed Nov 30, 2024
1 parent 16ed225 commit f131772
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,38 +175,38 @@ export const execute = <P extends DisplayObjectContainer, D extends DisplayObjec

let hitTest = false;
switch (true) {

case maskInstance.isContainerEnabled:
hitTest = execute(
maskInstance as unknown as DisplayObjectContainer,
hit_context, maskMatrix, hit_object, mouseChildren
);
break;

case maskInstance.isShape:
hitTest = shapeHitTestUseCase(
maskInstance as unknown as Shape,
hit_context, maskMatrix, hit_object
);
break;

case maskInstance.isText:
hitTest = textFieldHitTestUseCase(
maskInstance as unknown as TextField,
hit_context, maskMatrix, hit_object
);
break;

case maskInstance.isVideo:
hitTest = videoHitTestUseCase(
maskInstance as unknown as Video,
hit_context, maskMatrix, hit_object
);
break;

default:
break;

}

if (maskInstance.parent) {
Expand Down

0 comments on commit f131772

Please sign in to comment.