1
0
鏡像自 https://github.com/luanti-org/luanti.git 已同步 2025-12-23 23:15:30 +01:00

Don't stop style parsing on unknown property (#10143)

此提交包含在:
v-rob
2020-07-03 09:33:23 -07:00
提交者 GitHub
父節點 3f702fa1a9
當前提交 da71313e1d

查看文件

@@ -2562,7 +2562,7 @@ bool GUIFormSpecMenu::parseStyle(parserData *data, const std::string &element, b
<< "'" << std::endl; << "'" << std::endl;
property_warned.insert(propname); property_warned.insert(propname);
} }
return false; continue;
} }
spec.set(prop, value); spec.set(prop, value);
@@ -2603,7 +2603,7 @@ bool GUIFormSpecMenu::parseStyle(parserData *data, const std::string &element, b
} }
} }
if(!state_valid) { if (!state_valid) {
// Skip this selector // Skip this selector
continue; continue;
} }