mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-08 17:25:58 +01:00
Change scaledBorderSize to int.
This commit is contained in:
parent
cd2b2c4fba
commit
5233746ac5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue