This commit is contained in:
thrust26 2018-08-12 14:18:31 +02:00
parent d786f83b84
commit b94c042ed2
1 changed files with 4 additions and 0 deletions

View File

@ -121,7 +121,11 @@ void TiaOutputWidget::handleCommand(CommandSender* sender, int cmd, int data, in
ostringstream command;
int lines = myClickY + ystart;
if(instance().console().tia().isRendering())
{
lines -= instance().console().tia().scanlines();
if(lines < 0)
lines += instance().console().tia().scanlinesLastFrame();
}
if(lines > 0)
{
command << "scanline #" << lines;