mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-23 13:43:00 +00:00
Fix unwanted scaling when tiling bg image
This commit is contained in:
parent
cf1b7c0adb
commit
2f9dabd344
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ const vec2 tex_map[] = vec2[4](
|
|||
|
||||
|
||||
float scale_factor(float window, float image) {
|
||||
return max(1, window / image);
|
||||
return window / image;
|
||||
}
|
||||
|
||||
float tiling_factor(int i) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue