mirror of
https://github.com/virtcode/hypr-dynamic-cursors
synced 2025-09-19 08:03:21 +02:00
parent
9f40dc905e
commit
e2c32d8108
2 changed files with 2 additions and 3 deletions
|
@ -17,6 +17,7 @@ commit_pins = [
|
|||
["04ac46c54357278fc68f0a95d26347ea0db99496", "261bc1668f7de45b48ba6a40d5d727025575390b"], # v0.47.0
|
||||
["75dff7205f6d2bd437abfb4196f700abee92581a", "261bc1668f7de45b48ba6a40d5d727025575390b"], # v0.47.1
|
||||
["882f7ad7d2bbfc7440d0ccaef93b1cdd78e8e3ff", "261bc1668f7de45b48ba6a40d5d727025575390b"], # v0.47.2
|
||||
["5ee35f914f921e5696030698e74fb5566a804768", "9f40dc905e5b7e00f0c00956a5c2b007b26c50c2"], # v0.48.0
|
||||
]
|
||||
|
||||
[dynamic-cursors]
|
||||
|
|
|
@ -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