Skip to content

Commit 7991ee5

Browse files
committed
Request redraw in the wait block
1 parent 0605d8e commit 7991ee5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/blocks/controlblocks.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,8 @@ unsigned int ControlBlocks::startWait(VirtualMachine *vm)
215215

216216
auto currentTime = clock->currentSteadyTime();
217217
m_timeMap[vm] = { currentTime, vm->getInput(0, 1)->toDouble() * 1000 };
218+
vm->engine()->requestRedraw();
219+
218220
return 1;
219221
}
220222

0 commit comments

Comments
 (0)