Refactor color conversion functions for consistent naming and improved readability

This commit is contained in:
scawful
2024-11-18 14:12:46 -05:00
parent d664762344
commit ec85a206b1
6 changed files with 37 additions and 37 deletions

View File

@@ -433,7 +433,7 @@ absl::Status PaletteEditor::HandleColorPopup(gfx::SnesPalette& palette, int i,
// SNES Format
CustomFormatString(buf, IM_ARRAYSIZE(buf), "$%04X",
ConvertRGBtoSNES(ImVec4(col[0], col[1], col[2], 1.0f)));
ConvertRgbToSnes(ImVec4(col[0], col[1], col[2], 1.0f)));
if (Selectable(buf)) SetClipboardText(buf);
EndPopup();