mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-31 04:01:56 -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)
|
||||
return;
|
||||
|
||||
float scaledBorderSize = *PBORDERSIZE * m_RenderData.pMonitor->scale;
|
||||
int scaledBorderSize = *PBORDERSIZE * m_RenderData.pMonitor->scale;
|
||||
|
||||
if (round < 1) {
|
||||
// zero rounding, just lines
|
||||
|
Reference in New Issue
Block a user