Add layers to search menu

This commit is contained in:
Pieter Vander Vennet 2024-09-11 01:46:55 +02:00
parent e6dab1a83f
commit c591770eab
33 changed files with 332 additions and 195 deletions

View file

@ -641,4 +641,18 @@ export default class LayerConfig extends WithContextLoader {
}
return mostShadowed ?? matchingPresets[0]
}
public isNormal(){
if(this.id.startsWith("note_import")){
return false
}
if(Constants.added_by_default.indexOf(<any> this.id) >=0){
return false
}
if(this.filterIsSameAs !== undefined){
return false
}
return true
}
}