diff options
| author | MaxVerevkin <maxxverrr@gmail.com> | 2023-04-20 14:17:03 +0300 |
|---|---|---|
| committer | MaxVerevkin <maxxverrr@gmail.com> | 2023-06-01 13:37:26 +0300 |
| commit | 44fa43c97bb7a11311c7f860eb8cb2f94ace5216 (patch) | |
| tree | 2bf9281a46cc346d07c357ac9a613b8118cf0ec4 /src/text.rs | |
| parent | fa9135b5d1a459f91ac47f5c03214d836475473c (diff) | |
| download | i3bar-mango-44fa43c97bb7a11311c7f860eb8cb2f94ace5216.tar.gz | |
temporary hack
Diffstat (limited to 'src/text.rs')
| -rw-r--r-- | src/text.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/text.rs b/src/text.rs index 61bf5ca..bc1516d 100644 --- a/src/text.rs +++ b/src/text.rs @@ -106,7 +106,8 @@ impl ComputedText { context, 0.0, 0.0, - self.width + options.overlap, + // HACK: this `+ 0.5` fixes some artifacts of fractional scaling + self.width + options.overlap + 0.5, options.bar_height, options.r_left, options.r_right, |
