Name the id-and-path label for what it is, and drop a duplicate declaration and an unused parameter

This commit is contained in:
shweet committed 2026-11-22 19:09:55 -05:00
1 parent 05de859879
commit 13bbd8f9c5
6 files changed
+10 -11

No files matched your search

+2 -2
View File
@@ -981,9 +981,9 @@ Choices Document::choices_get(SelectionKind kind, int layerId) const
if (kind == SelectionKind::SPRITESHEETS)
add(content.spritesheets, path_label_get(FORMAT_SPRITESHEET));
if (kind == SelectionKind::SOUNDS)
add(content.sounds, path_label_get(FORMAT_SOUND));
add(content.sounds, path_label_get(FORMAT_ID_PATH));
if (kind == SelectionKind::LIBRARIES)
add(content.libraries, path_label_get(FORMAT_SOUND));
add(content.libraries, path_label_get(FORMAT_ID_PATH));
if (kind == SelectionKind::EVENTS)
add(content.events, name_get);
if (kind == SelectionKind::SHADERS)