e91460d63627cdad417cac2c09897be58094e2e0

Author
outfoxxed <outfoxxed@outfoxxed.me>
Committer
outfoxxed <outfoxxed@outfoxxed.me>
Date

Message

round tab bar entry geometry for display

Fixes #137

Diff

 1diff --git a/src/TabGroup.cpp b/src/TabGroup.cpp
 2index 33b6281aa15dcb3b14fdbfd5df35ae94c7c30ae1..fb59e0a032bffbccddc35e8ad37e04616c1de113 100644
 3--- a/src/TabGroup.cpp
 4+++ b/src/TabGroup.cpp
 5@@ -607,6 +607,7 @@ void Hy3TabGroup::renderTabBar() {
 6 		    entry_size.y,
 7 		};
 8 
 9+		box.round();
10 		entry.prepareTexture(scale, box);
11 		g_pHyprOpenGL->renderTexture(entry.texture, &box, fade_opacity * entry.fade_opacity.value());
12 	};