chore: Refactor clipboard functions to use namespace aliases

This commit is contained in:
scawful
2024-08-14 00:11:18 -04:00
parent 6ba3c0fc84
commit 731b8f1c75
8 changed files with 38 additions and 10 deletions

View File

@@ -230,7 +230,7 @@ absl::Status OverworldEditor::DrawToolset() {
std::vector<uint8_t> png_data;
if (gfx::ConvertSurfaceToPNG(maps_bmp_[current_map_].surface(),
png_data)) {
CopyImageToClipboard(png_data);
core::CopyImageToClipboard(png_data);
} else {
status_ = absl::InternalError(
"Failed to convert overworld map surface to PNG");