mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-27 16:59:43 +01:00
- XMPFile's methods refuse an object the XMPFile constructor did not make, so a plain object or one made from XMPFile.prototype with properties of the same names is not read or written as a file. - setLocalizedText for x-default also changes the items that had the text of the x-default item. Tests: a_script_cannot_change_the_state_of_an_xmp_file in crates/engine/src/tests/script_xmp.rs and localized_text_for_x_default_changes_the_items_that_matched_it in crates/js/src/xmp_tests.rs.