Fix editor one-click icons not showing.

This commit is contained in:
Pāvels Nadtočajevs
2025-07-21 12:15:00 +03:00
parent 71a9948157
commit e407f55fbf
16 changed files with 56 additions and 23 deletions

View File

@@ -647,8 +647,8 @@ bool EditorExportPlatformWeb::poll_export() {
return remote_debug_state != prev_remote_debug_state;
}
Ref<ImageTexture> EditorExportPlatformWeb::get_option_icon(int p_index) const {
Ref<ImageTexture> play_icon = EditorExportPlatform::get_option_icon(p_index);
Ref<Texture2D> EditorExportPlatformWeb::get_option_icon(int p_index) const {
Ref<Texture2D> play_icon = EditorExportPlatform::get_option_icon(p_index);
switch (remote_debug_state) {
case REMOTE_DEBUG_STATE_UNAVAILABLE: {