mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-09-03 13:33:48 -07:00
Change scaledBorderSize to int.
This commit is contained in:
@@ -780,7 +780,7 @@ void CHyprOpenGLImpl::renderBorder(wlr_box* box, const CColor& col, int round) {
|
|||||||
if (*PBORDERSIZE < 1)
|
if (*PBORDERSIZE < 1)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
float scaledBorderSize = *PBORDERSIZE * m_RenderData.pMonitor->scale;
|
int scaledBorderSize = *PBORDERSIZE * m_RenderData.pMonitor->scale;
|
||||||
|
|
||||||
if (round < 1) {
|
if (round < 1) {
|
||||||
// zero rounding, just lines
|
// zero rounding, just lines
|
||||||
|
Reference in New Issue
Block a user