This commit is contained in:
aozhiwei 2022-12-30 12:21:57 +08:00
parent a9d717a397
commit 7856320056

View File

@ -11,7 +11,9 @@ namespace mt
void SafeArea::Init1() void SafeArea::Init1()
{ {
type_hash_[type()] = this; if (!GetByType(type())) {
type_hash_[type()] = this;
}
} }
const SafeArea* SafeArea::GetByType(int type) const SafeArea* SafeArea::GetByType(int type)