Change scaledBorderSize to int.

This commit is contained in:
Felix Dick 2022-09-29 01:40:19 +02:00
parent cd2b2c4fba
commit 5233746ac5
1 changed files with 1 additions and 1 deletions

View File

@ -780,7 +780,7 @@ void CHyprOpenGLImpl::renderBorder(wlr_box* box, const CColor& col, int round) {
if (*PBORDERSIZE < 1)
return;
float scaledBorderSize = *PBORDERSIZE * m_RenderData.pMonitor->scale;
int scaledBorderSize = *PBORDERSIZE * m_RenderData.pMonitor->scale;
if (round < 1) {
// zero rounding, just lines