File tree Expand file tree Collapse file tree
packages/project-editor/flow Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4904,6 +4904,7 @@ export function checkProperty(
49044904 }
49054905 } else if (
49064906 ! isPropertyOptional ( object , propertyInfo ) &&
4907+ ( ! ( object instanceof ProjectEditor . WidgetClass ) || object instanceof ProjectEditor . LVGLWidgetClass ) &&
49074908 ! isPropertyHidden ( object , propertyInfo )
49084909 ) {
49094910 messages . push ( propertyNotSetMessage ( object , propertyInfo . name ) ) ;
@@ -4940,6 +4941,7 @@ export function checkProperty(
49404941 }
49414942 } else if (
49424943 ! isPropertyOptional ( object , propertyInfo ) &&
4944+ ( ! ( object instanceof ProjectEditor . WidgetClass ) || object instanceof ProjectEditor . LVGLWidgetClass ) &&
49434945 ! isPropertyHidden ( object , propertyInfo )
49444946 ) {
49454947 messages . push ( propertyNotSetMessage ( object , propertyInfo . name ) ) ;
@@ -4964,6 +4966,7 @@ export function checkProperty(
49644966 }
49654967 } else if (
49664968 ! isPropertyOptional ( object , propertyInfo ) &&
4969+ ( ! ( object instanceof ProjectEditor . WidgetClass ) || object instanceof ProjectEditor . LVGLWidgetClass ) &&
49674970 ! isPropertyHidden ( object , propertyInfo )
49684971 ) {
49694972 messages . push ( propertyNotSetMessage ( object , propertyInfo . name ) ) ;
You can’t perform that action at this time.
0 commit comments