Implement instruction scroll-to for PBS entry signal conditional in GUI.
This commit is contained in:
@@ -944,6 +944,11 @@ public:
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else if (GetTraceRestrictTypeProperties(item).value_type == TRVT_TILE_INDEX) {
|
||||||
|
TileIndex tile = *(TraceRestrictProgram::InstructionAt(this->GetProgram()->items, sel - 1) + 1);
|
||||||
|
if (tile != INVALID_TILE) {
|
||||||
|
ScrollMainWindowToTile(tile);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user