fix: stop showing errored widget labels permanently and show them only on hover or when selected (#14064)

This commit is contained in:
rahulramesha 2022-05-26 12:55:29 +05:30 committed by GitHub
parent 7c9135f945
commit 9cb8524acd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,8 +140,7 @@ export function WidgetNameComponent(props: WidgetNameComponentProps) {
: props.showControls ||
((focusedWidget === props.widgetId || showAsSelected) &&
!isDragging &&
!isResizing) ||
(!!props.errorCount && !shouldHideErrors))
!isResizing))
);
};