From ffefeed888fe6f221a79575f8624257571eacf8d Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sun, 27 Jun 2021 10:04:46 +0200 Subject: loop selection working + fix #1 --- components/selection.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'components') diff --git a/components/selection.tsx b/components/selection.tsx index 4be9767..618d854 100644 --- a/components/selection.tsx +++ b/components/selection.tsx @@ -90,14 +90,16 @@ export default function Selection(props: { right?: slideTypes; className?: string; widthOffset?: number; + visibility?: number; }) { - var small = (props.width + props.widthOffset) < 24 || props.height < 24 || !props.left || !props.right; + var small = !props.left || !props.right; return
-- cgit v1.2.3