aboutsummaryrefslogtreecommitdiff
path: root/data/core/emptyview.lua
diff options
context:
space:
mode:
authorJefferson González <jgmdev@gmail.com>2025-11-24 21:01:30 -0400
committerGitHub <noreply@github.com>2025-11-24 21:01:30 -0400
commita1450948da83a113f0d192524fb3e1bda3fcb2d9 (patch)
treee2a663fb5023be3c8640bd43b80a50738bdeea33 /data/core/emptyview.lua
parentf5e7c9ea5879d558681e6e62939fc31ee244c5e9 (diff)
downloadpragtical-a1450948da83a113f0d192524fb3e1bda3fcb2d9.tar.gz
pragtical-a1450948da83a113f0d192524fb3e1bda3fcb2d9.zip
Better out of box smoothness and responsiveness (#357)
* Better out of box smoothness and responsiveness This PR does various things to improve the out of the box editor smoothness which includes: * Adding new renwindow.get_refresh_rate method. * Introduce new config.auto_fps flag to match the fps to current display refresh rate. * Setting config.fps to match the display refresh rate by default. * Emit displaychanged event to keep refresh rate updated. * Allow smaller snap point on move_towards animation to reduce jittering. * Reduce scroll rate from 0.3 to 0.2 for smoother scroll transition. * Decrease garbage collection setpause to collect more often and in smaller sizes preventing big pauses, which should improve responsiveness. Other Changes: * Introduce new global DEFAULT_FPS to assist the settings gui when changing the config.auto_fps/fps flags. * Revert default context lines from 10 to 1. * Increase blink period from 0.8 seconds to 1.2 seconds which should be less distracting. * Adjust run loop no-draw wait time * Drop no longer necessary lower latency config * Minor adjustment to code comment Thanks to Amer for testing!
Diffstat (limited to 'data/core/emptyview.lua')
0 files changed, 0 insertions, 0 deletions