Inline frames limit was raised to 64 in 7552341ff.

This commit is contained in:
Bartosz Taudul 2023-03-19 16:22:46 +01:00
parent 1d7afbd07e
commit 85d541124e
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -244,8 +244,8 @@ int View::DispatchGhostLevel( const Vector<GhostZone>& vec, bool hover, double p
const auto offset = _offset + ostep * depth; const auto offset = _offset + ostep * depth;
const auto yPos = wpos.y + offset; const auto yPos = wpos.y + offset;
// Inline frames have to be taken into account, hence the multiply by 16 (arbitrary limit for inline frames in client) // Inline frames have to be taken into account, hence the multiply by 64 (arbitrary limit for inline frames in client)
if( yPos + 16 * ostep >= yMin && yPos <= yMax ) if( yPos + 64 * ostep >= yMin && yPos <= yMax )
{ {
return DrawGhostLevel( vec, hover, pxns, nspx, wpos, _offset, depth, yMin, yMax, tid ); return DrawGhostLevel( vec, hover, pxns, nspx, wpos, _offset, depth, yMin, yMax, tid );
} }