Commit ed9e1e57 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

screencasting: No need to adjust the scale on the cursor

Otherwise we get some vertical padding when there's scaling
parent fd25e969
......@@ -444,7 +444,7 @@ void ScreenCastStream::recordFrame(const QRegion &damagedRegion)
const auto cursorRect = cursorGeometry(cursor);
mvp.translate(cursorRect.left(), r.height() - - cursor->image().height() * m_cursor.scale);
mvp.translate(cursorRect.left(), r.height() - - cursor->image().height());
shader->setUniform(GLShader::ModelViewProjectionMatrix, mvp);
Supports Markdown
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