Fixed texture file picker showing all file types, closes #133

This commit is contained in:
Lucas Dower 2023-09-03 17:45:13 +01:00
parent f68492cadd
commit de1a9b4e03
No known key found for this signature in database
GPG Key ID: B3EE6B8499593605

View File

@ -38,7 +38,7 @@ export class ImageComponent extends ConfigComponent<Promise<TImageRawWrap>, HTML
</div>
</div>
<div class="row-item">
<input type="file" accept="images/png" style="display: none;" id="${this._getId()}-input">
<input type="file" accept="image/png,image/jpeg" style="display: none;" id="${this._getId()}-input">
${this._switchElement.generateHTML()}
</div>
</div>