diff options
| author | Max Verevkin <34583604+MaxVerevkin@users.noreply.github.com> | 2023-06-01 16:34:33 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-01 16:34:33 +0300 |
| commit | aaaa16d9b7c54ff04e8548fe990fb1a54d454fa0 (patch) | |
| tree | 9fe36b384cf106a02da8ecb4fb4cd93185b3755c /src/text.rs | |
| parent | 84b8dfe8cd190de33221f465a7059be6a30769f5 (diff) | |
| parent | 13c08ca31ee1ccbbeceb8962d739a077048d59ac (diff) | |
| download | i3bar-mango-aaaa16d9b7c54ff04e8548fe990fb1a54d454fa0.tar.gz | |
Merge pull request #8 from MaxVerevkin/hyprland
Hyprland
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, |
