aboutsummaryrefslogtreecommitdiff
path: root/commands.h
diff options
context:
space:
mode:
authorN-R-K <79544946+N-R-K@users.noreply.github.com>2022-01-03 02:07:43 +0600
committerGitHub <noreply@github.com>2022-01-03 02:07:43 +0600
commit0f3766eaaba949bc2eac276cb0a08e0195c17441 (patch)
tree0e9677be436e0aa658274270f5ad8b7074595d92 /commands.h
parente839638156b5d2443fed1ce49786c2788f6205aa (diff)
fix: animation slowdown when zoomed in (#200)
rendering is a pretty expensive operation, especially when scaling with anti-aliasing. by waiting for the image to render before setting timeout, the actual timeout ends up being (render time + actual delay). this pretty much fixes the slowdown entirely on all the images i've tested. it should also improve things noticeably even in cases where the delay between frames is shorter than how fast we can render. although on such images, the issue may not be fixed entirely. Closes: https://github.com/nsxiv/nsxiv/issues/70
Diffstat (limited to 'commands.h')
0 files changed, 0 insertions, 0 deletions