First commit

This commit is contained in:
2025-12-25 11:16:59 +01:00
commit 0c5ca09a63
720 changed files with 329234 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
import icon from "../icon.js";
export default class fileChooserFileIcon extends icon{
width = 50;
height = 50;
layers = 1;
backgroundSize = "contain!important"
create() {
console.log("icon type", this.parent.fileType);
if( this.parent.fileType == "file" ) {
this.setImage( "assets/images/icons/file.png" );
}
if( this.parent.fileType == "directory" ) {
this.setImage( "assets/images/icons/folder.png" )
}
}
}