mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 04:09:49 +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)
|
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
|
||||||
|
|
Loading…
Reference in a new issue