Sign window: Ctrl-click sign to open extra viewport at sign coordinates

This commit is contained in:
Jonathan G Rennison 2024-08-13 00:54:11 +01:00
parent 7b26ec91c6
commit 3717b5b934

View File

@ -236,7 +236,11 @@ struct SignListWindow : Window, SignList {
if (it == this->signs.end()) return;
const Sign *si = *it;
ScrollMainWindowToTile(TileVirtXY(si->x, si->y));
if (_ctrl_pressed) {
ShowExtraViewportWindow(TileVirtXY(si->x, si->y));
} else {
ScrollMainWindowToTile(TileVirtXY(si->x, si->y));
}
break;
}