Skip to content

Commit

Permalink
rm extra options
Browse files Browse the repository at this point in the history
  • Loading branch information
c298lee committed Feb 3, 2025
1 parent ff07b6c commit 71d8049
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ export function ScreenshotEditorFactory({
ref={cropContainerRef}
>
<canvas onMouseDown={onDragStart} ref={croppingRef}></canvas>
{(!options._experiments.annotations || isCropping) && (
{isCropping && (
<div>
<CropCorner
left={croppingRect.startX - CROP_BUTTON_BORDER}
Expand Down Expand Up @@ -441,7 +441,7 @@ export function ScreenshotEditorFactory({
></CropCorner>
</div>
)}
{(!options._experiments.annotations || isCropping) && (
{isCropping && (
<div
style={{
left: Math.max(0, croppingRect.endX - 191),
Expand Down

0 comments on commit 71d8049

Please sign in to comment.