Skip to content

Commit

Permalink
Update ElementEventHandlerItem.java
Browse files Browse the repository at this point in the history
  • Loading branch information
portlek committed Sep 30, 2024
1 parent 9e9a039 commit 5d6d685
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public CompletableFuture<ConsumerService.State> handleRender(
this.forceRender(element, context);
return CompletableFuture.completedFuture(ConsumerService.State.CONTINUE);
}
element.visible(false);
return this.checkOverlapping(element, context);
}

Expand Down Expand Up @@ -87,7 +88,6 @@ private CompletableFuture<ConsumerService.State> checkOverlapping(
@NotNull final ElementRich compareTo,
@NotNull final ContextElementRender context
) {
compareTo.visible(false);
final Optional<ElementRich> overlappingOptional =
this.findOverlappingElement(compareTo, context);
if (!overlappingOptional.isPresent()) {
Expand Down

0 comments on commit 5d6d685

Please sign in to comment.