[nostalgia] Update for compatibility with Ox changes
This commit is contained in:
@@ -69,7 +69,7 @@ void TileSheetEditor::draw(core::Context*) noexcept {
|
||||
const auto wheel = io.MouseWheel;
|
||||
const auto wheelh = io.MouseWheelH;
|
||||
if (wheel != 0) {
|
||||
const auto zoomMod = ox::defines::OS == ox::defines::OS::Darwin ? io.KeySuper : io.KeyCtrl;
|
||||
const auto zoomMod = ox::defines::OS == ox::OS::Darwin ? io.KeySuper : io.KeyCtrl;
|
||||
const auto pixelSize = m_pixelsDrawer.pixelSize(paneSize);
|
||||
const ImVec2 sheetSize(pixelSize.x * static_cast<float>(m_img.columns) * TileWidth,
|
||||
pixelSize.y * static_cast<float>(m_img.rows) * TileHeight);
|
||||
|
||||
Reference in New Issue
Block a user