From e4285bd48bb353c21a33fca84b8bf6a76f01bfeb Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Wed, 17 Jan 2024 22:22:16 -0600 Subject: [PATCH] [nostalgia/studio] Tweak background color of TileSheet editor --- .../core/src/studio/tilesheeteditor/tilesheeteditorview.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/nostalgia/modules/core/src/studio/tilesheeteditor/tilesheeteditorview.cpp b/src/nostalgia/modules/core/src/studio/tilesheeteditor/tilesheeteditorview.cpp index 7053b1f0..a202aff3 100644 --- a/src/nostalgia/modules/core/src/studio/tilesheeteditor/tilesheeteditorview.cpp +++ b/src/nostalgia/modules/core/src/studio/tilesheeteditor/tilesheeteditorview.cpp @@ -21,8 +21,7 @@ TileSheetEditorView::TileSheetEditorView(turbine::Context &ctx, ox::StringView p } void TileSheetEditorView::draw() noexcept { - constexpr Color32 bgColor = 0x717d7e; - glClearColor(redf(bgColor), greenf(bgColor), bluef(bgColor), 1.f); + glClearColor(0.37f, 0.37f, 0.37f, 1.f); glClear(GL_COLOR_BUFFER_BIT); m_pixelsDrawer.draw(updated(), m_scrollOffset); m_pixelGridDrawer.draw(updated(), m_scrollOffset);