mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
compiler: Move embedded_file_resources from the root Component to the Document
This commit is contained in:
parent
41d39c507f
commit
2fd8744cfc
15 changed files with 68 additions and 86 deletions
|
@ -411,7 +411,7 @@ pub fn compile_with_config(
|
|||
write!(code_formatter, "{}", generated).map_err(CompileError::SaveError)?;
|
||||
println!("cargo:rerun-if-changed={}", path.display());
|
||||
|
||||
for resource in doc.root_component.embedded_file_resources.borrow().keys() {
|
||||
for resource in doc.embedded_file_resources.borrow().keys() {
|
||||
if !resource.starts_with("builtin:") {
|
||||
println!("cargo:rerun-if-changed={}", resource);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue