From dc0d6fe267e8a1722d3d0cb59b2dd9e2510c0ab3 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Wed, 7 Feb 2024 16:20:09 -0500 Subject: [PATCH] Remove leftover comment --- src/mainwindow.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 6f9e10b3..f7e0dee1 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1398,7 +1398,6 @@ void MainWindow::scrollMetatileSelectorToSelection() { pos += QPoint(size.x() - 1, size.y() - 1) * 16 / 2; // We want to focus on the center of the whole selection pos *= getMetatilesZoomScale(); - // TODO: This snaps focus to the position if it's out of view. It should scroll slowly toward this target instead auto viewport = ui->scrollArea_MetatileSelector->viewport(); ui->scrollArea_MetatileSelector->ensureVisible(pos.x(), pos.y(), viewport->width() / 2, viewport->height() / 2); }