Commit c4161248 authored by Dmitry Kazakov's avatar Dmitry Kazakov

Remove 500ms delay between selection creation and cretion of marching ants

This delay was originally introduced to not interfere with painting,
which (in 2013) was done directly over the ants. Now we have overlay
mask functionality, therefore this delay is not needed anymore.

There is still a short visible delay. It is cause but the outline
genration algorithm is really slow. Perhaps we should also try to
fix speed when working on bug 419240.

BUG:419738
CCBUG:395861
parent 06d70193
......@@ -50,7 +50,7 @@ static const unsigned int ANT_ADVANCE_WIDTH = ANT_LENGTH + ANT_SPACE;
KisSelectionDecoration::KisSelectionDecoration(QPointer<KisView>view)
: KisCanvasDecoration("selection", view),
m_signalCompressor(500 /*ms*/, KisSignalCompressor::FIRST_INACTIVE),
m_signalCompressor(40 /*ms*/, KisSignalCompressor::FIRST_ACTIVE),
m_offset(0),
m_mode(Ants)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment