فهرست منبع

Attributes: Fix `null` check. (#30694)

Michael Herzog 10 ماه پیش
والد
کامیت
f760c50d0b
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/renderers/common/Attributes.js

+ 1 - 1
src/renderers/common/Attributes.js

@@ -39,7 +39,7 @@ class Attributes extends DataMap {
 
 		const attributeData = super.delete( attribute );
 
-		if ( attributeData !== undefined ) {
+		if ( attributeData !== null ) {
 
 			this.backend.destroyAttribute( attribute );
 

粤ICP备19079148号