Skip to content

Comments

Zoom: update cursor position every frame#2749

Merged
lenemter merged 2 commits intomainfrom
lenemter/smooth-zoom
Feb 12, 2026
Merged

Zoom: update cursor position every frame#2749
lenemter merged 2 commits intomainfrom
lenemter/smooth-zoom

Conversation

@lenemter
Copy link
Member

@lenemter lenemter commented Feb 2, 2026

Makes zoom a lot smoother. Uses Meta.Laters that can run every frame, without hardcoding timeout value or using resource-intense Meta.CursorTracker.position_invalidated

While we're here I removed destructor since it never runs and made GObject style initialization

@lenemter lenemter requested a review from a team February 2, 2026 21:56
Copy link
Member

@leolost2605 leolost2605 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lenemter lenemter force-pushed the lenemter/smooth-zoom branch from d45dff1 to 6970a34 Compare February 7, 2026 23:03
@lenemter lenemter force-pushed the lenemter/smooth-zoom branch from 6970a34 to 145aeed Compare February 12, 2026 10:35
@lenemter lenemter merged commit dcd2ff8 into main Feb 12, 2026
6 checks passed
@lenemter lenemter deleted the lenemter/smooth-zoom branch February 12, 2026 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants