diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-01-19 23:21:49 +0100 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-01-20 00:31:04 +0100 |
commit | 9e3393a624d3c9d7e0a7f5c8bedbd3eb0d1e1b42 (patch) | |
tree | 134b1c0cca9ebe04e287341f87714c99507d803d /methods.py | |
parent | 62d656ea063f69d5b48adf60486433c37125b8be (diff) |
Optimize the editor icon generation
Icons are no longer upsampled when using an integer editor scale.
This makes some icons slightly less crisp, but the icons themselves
can be adjusted to mitigate this. When using a non-integer editor
scale setting, upsampling is kept as it improves crispness in a
far more visible manner.
When upsampling is disabled, this speeds up the theme generation
by about 100 ms on average, making the project manager and editor
start slightly faster. This also speeds up switching between themes.
Diffstat (limited to 'methods.py')
0 files changed, 0 insertions, 0 deletions