mirror of
https://github.com/jpochyla/psst.git
synced 2026-04-27 07:25:52 +03:00
[PR #454] [CLOSED] Request frame before paint #549
Labels
No labels
api
bug
build
documentation
duplicate
enhancement
good first issue
help wanted
idea
invalid
linux
lowprio
macos
pull-request
upstream
windows
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/psst#549
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jpochyla/psst/pull/454
Author: @jacksongoode
Created: 2/14/2024
Status: ❌ Closed
Base:
master← Head:jackson/request-frame-link📝 Commits (3)
e3370b4Request frame before paintbd1d3d1Funny :)7e4d876Small paint improvements📊 Changes
1 file changed (+22 additions, -17 deletions)
View changed files
📝
psst-gui/src/widget/link.rs(+22 -17)📄 Description
This resolves issue #367 by requesting an animation frame before we paint. However, it's at the expense of CPU cycles. It seems that CPU usage, at least on my machine, went from 5% to around 9% when quickly moving the cursor around on the page.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.