mirror of
https://github.com/virtcode/hypr-dynamic-cursors
synced 2025-09-19 16:13:21 +02:00
parent
9f40dc905e
commit
e2c32d8108
2 changed files with 2 additions and 3 deletions
|
@ -128,6 +128,7 @@ void CDynamicCursors::renderSoftware(CPointerManager* pointers, SP<CMonitor> pMo
|
|||
CCursorPassElement::SRenderData data;
|
||||
data.tex = texture;
|
||||
data.box = box;
|
||||
|
||||
data.hotspot = pointers->currentCursorImage.hotspot * state->monitor->scale * zoom;
|
||||
data.nearest = nearest;
|
||||
data.stretchAngle = resultShown.stretch.angle;
|
||||
|
@ -135,9 +136,6 @@ void CDynamicCursors::renderSoftware(CPointerManager* pointers, SP<CMonitor> pMo
|
|||
|
||||
g_pHyprRenderer->m_sRenderPass.add(makeShared<CCursorPassElement>(data));
|
||||
|
||||
pointers->currentCursorImage.waitTimeline.reset();
|
||||
pointers->currentCursorImage.waitPoint = 0;
|
||||
|
||||
if (pointers->currentCursorImage.surface)
|
||||
pointers->currentCursorImage.surface->resource()->frame(now);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue